refactor #1

Merged
gru merged 14 commits from refactor into master 2025-08-30 00:19:50 +02:00
Showing only changes of commit e065f5892d - Show all commits

4
app.py
View File

@@ -95,8 +95,6 @@ def finalize_response(response):
if response.status_code >= 400:
response.headers["Cache-Control"] = "no-store"
response.headers["Pragma"] = "no-cache"
response.headers["Expires"] = "0"
return response
if path.startswith("/static/"):
@@ -109,8 +107,6 @@ def finalize_response(response):
if path == "/":
response.headers["Cache-Control"] = "private, no-store"
response.headers["Pragma"] = "no-cache"
response.headers["Expires"] = "0"
return response
return response