some improvements

This commit is contained in:
zefie
2025-07-20 14:00:32 -04:00
parent 1a8401d015
commit 86c9b3b0e2
9 changed files with 42 additions and 34 deletions

View File

@@ -5,6 +5,12 @@ Content-type: text/html
wtv-expire-all: wtv-flashrom:
minisrv-no-mail-count: true`
if (socket.ssid && ssid_sessions[socket.ssid]) {
// Clear minibrowser flags, if set. Should prevent the service thinking the box is still in minibrowser mode after the update.
ssid_sessions[socket.ssid].delete("wtv-need-upgrade")
ssid_sessions[socket.ssid].delete("wtv-used-8675309")
}
data = `<html>
<head>