Redirect to host after login

This commit is contained in:
Brahim Hadriche committed 2022-11-05 14:11:11 -04:00
1 parent 6b11cdfec5
commit 201388bd27
1 file changed
+2 -1
+2 -1
View File
@@ -1,4 +1,5 @@
import "pkg:/source/utils/Registry.bs"
import "pkg:/source/services/Invidious.bs"
namespace RokuYoutube.Http
function GetHttpReplyId()
@@ -72,7 +73,7 @@ namespace RokuYoutube.Http
' TODO: Perhaps there's a better signaling mechanism, like IfMessagePort
m.settings.ShouldClose = true
end if
m.Default(200, "OK")
m.Redirect(RokuYoutube.Services.Invidious.GetCurrentHost())
return true
end if