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