From bb84cab23113295026aae1d063be5938d7962b1d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 8 Aug 2021 02:01:00 +0200 Subject: [PATCH] fd --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index acd3e8298..308f2bf02 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -256,7 +256,7 @@ def after_request(response): response.headers.add('Access-Control-Allow-Headers', "Origin, X-Requested-With, Content-Type, Accept, x-auth") response.headers.remove("Cache-Control") - response.headers.add("Cache-Control", "public, max-age=86400") + response.headers.add("Cache-Control", "max-age=86400") response.headers.add("Access-Control-Allow-Origin", app.config["SERVER_NAME"]) response.headers.add("Strict-Transport-Security", "max-age=31536000")