diff --git a/app/main.py b/app/main.py index fb46ee9..85f9369 100644 --- a/app/main.py +++ b/app/main.py @@ -156,7 +156,10 @@ async def index(request: Request): "
Please log in via the dashboard login.
", status_code=401, ) - return HTMLResponse(render_page(identity)) + # no-store: the page is one inline script with no validators, so a cached + # copy runs the PREVIOUS deploy's JS and makes a working app look broken + # (it did, 2026-11-13). + return HTMLResponse(render_page(identity), headers={"Cache-Control": "no-store"}) @app.get("/api/usage")