forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-08 02:00:49 +02:00
parent bf1a776e58
commit f1a5e19838
1 changed files with 1 additions and 1 deletions

View File

@ -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=31536000")
response.headers.add("Cache-Control", "public, max-age=86400")
response.headers.add("Access-Control-Allow-Origin", app.config["SERVER_NAME"])
response.headers.add("Strict-Transport-Security", "max-age=31536000")