diff --git a/admin-web/server.py b/admin-web/server.py index eefa06d..8ba309f 100644 --- a/admin-web/server.py +++ b/admin-web/server.py @@ -572,7 +572,7 @@ class AdminHandler(BaseHTTPRequestHandler): mime = mimetypes.guess_type(str(path))[0] or "application/octet-stream" self.send_response(200) self.send_header("Content-Type", mime) - self.send_header("Cache-Control", "no-store" if path.name == "index.html" else "public, max-age=3600") + self.send_header("Cache-Control", "no-store") self.send_header("Content-Length", str(len(body))) self.end_headers() self.wfile.write(body)