Add CORS middleware

This commit is contained in:
Brahim Hadriche committed 2022-11-25 13:29:48 -05:00
1 parent 386dfc1419
commit 02e44960b7
4 files changed
+28 -1

No files matched your search

@@ -3,7 +3,7 @@ import "pkg:/source/roku_modules/rokupromise/Promise.brs"
function Init()
m.versionLabel = m.top.findNode("VersionLabel")
m.top.url = `http:/${GetLocalIpAddress()}:8888`
m.top.url = `http://${GetLocalIpAddress()}:8888`
appInfo = GetAppInfo()
m.currentVersion = appInfo.version
SetVersionLabel(m.currentVersion, "N/A")