This commit is contained in:
lelo 2025-05-30 10:30:06 +00:00
parent b35e4030ac
commit 13cb4fecbb
2 changed files with 4 additions and 3 deletions

5
app.py
View File

@ -488,9 +488,10 @@ def serve_file(subpath):
if as_attachment:
response.headers['X-Content-Type-Options'] = 'nosniff'
if not as_attachment :
response.headers['Content-Disposition'] = 'attachment'
else:
response.headers['Content-Disposition'] = 'inline'
response.headers['Cache-Control'] = 'public, max-age=86400'
# 7) Logging

View File

@ -1,4 +1,4 @@
const VERSION = '1.18';
const VERSION = '1.19';
const CACHE_NAME = `gottesdienste-v${VERSION}`;
const assets = [
'/',