pre-refactor

This commit is contained in:
2026-06-17 03:41:08 +00:00
parent 318d7169f7
commit 687fa8f52f
19 changed files with 215 additions and 105 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ def spa_page(path=""):
scheme = "wss" if request.is_secure else "ws"
ws_url = f"{scheme}://{request.host}/ws"
html = (SPA_DIR / "index.html").read_text()
return html.replace("__WS_URL__", ws_url)
return html.replace("__WS_URL_PLACEHOLDER__", ws_url)
if __name__ == "__main__":