Add CORS middleware
This commit is contained in:
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")
|
||||
|
||||
Reference in new issue
Block a user