cleanup
This commit is contained in:
parent
b35e4030ac
commit
13cb4fecbb
5
app.py
5
app.py
@ -488,9 +488,10 @@ def serve_file(subpath):
|
|||||||
|
|
||||||
if as_attachment:
|
if as_attachment:
|
||||||
response.headers['X-Content-Type-Options'] = 'nosniff'
|
response.headers['X-Content-Type-Options'] = 'nosniff'
|
||||||
|
response.headers['Content-Disposition'] = 'attachment'
|
||||||
if not as_attachment :
|
else:
|
||||||
response.headers['Content-Disposition'] = 'inline'
|
response.headers['Content-Disposition'] = 'inline'
|
||||||
|
|
||||||
response.headers['Cache-Control'] = 'public, max-age=86400'
|
response.headers['Cache-Control'] = 'public, max-age=86400'
|
||||||
|
|
||||||
# 7) Logging
|
# 7) Logging
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
const VERSION = '1.18';
|
const VERSION = '1.19';
|
||||||
const CACHE_NAME = `gottesdienste-v${VERSION}`;
|
const CACHE_NAME = `gottesdienste-v${VERSION}`;
|
||||||
const assets = [
|
const assets = [
|
||||||
'/',
|
'/',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user