diff --git a/app.py b/app.py index ca537f6..956e5ce 100644 --- a/app.py +++ b/app.py @@ -77,6 +77,8 @@ def add_header(response): if request.path.startswith('/static/'): response.cache_control.max_age = 31536000 response.cache_control.public = True + response.headers.pop('Content-Disposition', None) + else: response.cache_control.no_cache = True response.cache_control.no_store = True