script name change

changing script name to webAppServer
Adding TEST_MODE to list of serving apps
This commit is contained in:
Sai Raj 2020-02-26 15:37:01 +05:30 committed by GitHub
parent 12f1cd04be
commit 1914c57287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,10 @@
<title>FLO webApp Server</title>
<script id="onLoadStartUp">
function onLoadStartUp() {
var consoleClear = setInterval(console.clear, 60 * 60000)
floWebappServer.initWebSocket()
const apps = ['TEST_MODE']
webAppServer.setServeAppList(apps)
var consoleClear = setInterval(console.clear, 60 * 60000) // clear console every 1 hr
webAppServer.initWebSocket()
.then(result => console.log(result))
.catch(error => console.error(error))
}
@ -182,8 +183,8 @@
}
}
</script>
<script id="floWebappServer">
const floWebappServer = {
<script id="webAppServer">
const webAppServer = {
util: {
@ -289,4 +290,4 @@
}
}
</script>
</body>
</body>