Files
playlet-piped/src/components/SettingsScreen/SettingsScreen.bs
T
Brahim Hadriche 651bb54dee Play API prototype (#8)
* Play API prototype

* Web app

* Drag and drop support

* Handle different urls

* Fix redirect

* Increase max connections

* changelog

* Limit timeout

* Use fetch

* Redirects

* Formatting
2022-11-21 18:47:12 -05:00

16 lines
312 B
Plaintext

import "pkg:/source/utils/General.bs"
function Init()
m.top.url = `http:/${GetLocalIpAddress()}:8888`
end function
function OnUrlSet()
url = m.top.url
qrCode = m.top.findNode("SettingsQRPoster")
qrCode.text = url
urlLabel = m.top.findNode("urlLabel")
urlLabel.text = url
end function