fd
This commit is contained in:
parent
47028d6f2a
commit
2fe2388214
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,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, maxage=600")
|
||||
response.headers.add("Strict-Transport-Security", "max-age=31536000")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue