diff --git a/bot/routes/core.py b/bot/routes/core.py index a56b471..6714111 100644 --- a/bot/routes/core.py +++ b/bot/routes/core.py @@ -14,7 +14,8 @@ router = APIRouter() @router.get("/") def read_index(): - return FileResponse("static/index.html") + headers = {"Cache-Control": "no-cache, no-store, must-revalidate"} + return FileResponse("static/index.html", headers=headers) @router.get("/logs") diff --git a/bot/static/index.html b/bot/static/index.html index 68e29c2..d43e795 100644 --- a/bot/static/index.html +++ b/bot/static/index.html @@ -3,10 +3,13 @@
+ + +