forked from rDrama/rDrama
master
parent
bb84cab231
commit
23a6635928
|
@ -256,7 +256,6 @@ def after_request(response):
|
||||||
|
|
||||||
response.headers.add('Access-Control-Allow-Headers', "Origin, X-Requested-With, Content-Type, Accept, x-auth")
|
response.headers.add('Access-Control-Allow-Headers', "Origin, X-Requested-With, Content-Type, Accept, x-auth")
|
||||||
response.headers.remove("Cache-Control")
|
response.headers.remove("Cache-Control")
|
||||||
response.headers.add("Cache-Control", "max-age=86400")
|
|
||||||
response.headers.add("Access-Control-Allow-Origin", app.config["SERVER_NAME"])
|
response.headers.add("Access-Control-Allow-Origin", app.config["SERVER_NAME"])
|
||||||
|
|
||||||
response.headers.add("Strict-Transport-Security", "max-age=31536000")
|
response.headers.add("Strict-Transport-Security", "max-age=31536000")
|
||||||
|
|
Loading…
Reference in New Issue