- update: app.js: add really long timeout for closing missed sockets

- update: app.js: fix for minibrowser connectivity
- update: app.js: enhance security
- update: wtv-home:/home: fix wtv-needs-upgrade -> wtv-need-upgrade
- update: wtv-head-waiter:/login-stage-two: do not send wtv-settings:/get to minibrowser
- update: wtv-1800:/preregister: Disconnect and clean up all previous sockets for the connecting SSID when hitting preregister. Also re-create wtvsec_login.
This commit is contained in:
zefie
2021-07-24 09:41:00 -04:00
parent 6ced1443f0
commit 89f1b896e1
4 changed files with 89 additions and 41 deletions

View File

@@ -96,7 +96,10 @@ wtv-demo-mode: 0
wtv-wink-deferrer-retries: 3
wtv-offline-mail-enable: false
wtv-name-server: 8.8.8.8
wtv-settings-url: wtv-setup:/get
wtv-visit: wtv-home:/splash?
`;
if (ssid_sessions[socket.ssid].get('wtv-need-upgrade') != 'true') {
headers += "wtv-settings-url: wtv-setup:/get\n";
}
headers += `wtv-visit: wtv-home:/splash?
Content-Type: text/html`;
}