Close SSE connection nicely on navigating away from the page

This commit is contained in:
Ian Renton
2026-06-05 18:52:32 +01:00
parent 6938a8cc0a
commit 72360758ac
11 changed files with 31 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ from data.sig import SIG
# General software
SOFTWARE_NAME = "Spothole by M0TRT"
SOFTWARE_VERSION = "1.3"
SOFTWARE_VERSION = "1.4-pre"
# HTTP headers used for spot providers that use HTTP
HTTP_HEADERS = {"User-Agent": SOFTWARE_NAME + ", v" + SOFTWARE_VERSION + " (operated by " + SERVER_OWNER_CALLSIGN + ")"}