diff --git a/web_viewer/__init__.py b/web_viewer/__init__.py index b380661..1b24ba4 100644 --- a/web_viewer/__init__.py +++ b/web_viewer/__init__.py @@ -21,7 +21,7 @@ async def http_handler(_: web.Request): index_file_path = path.join(path.dirname(__file__), 'public', 'index.html') - return web.FileResponse(index_file_path) + return web.FileResponse(index_file_path, headers={"expires": "0", "cache-control": "no-cache"}) ws_clients: list[web.WebSocketResponse] = [] last_inverter_data: str = '{}'