* Play API prototype * Web app * Drag and drop support * Handle different urls * Fix redirect * Increase max connections * changelog * Limit timeout * Use fetch * Redirects * Formatting
16 lines
312 B
Plaintext
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
|