mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-26 06:33:56 +01:00
Add cache-control for Atlas images for 28 days
This commit is contained in:
parent
7db023633c
commit
aa3229ab3a
1 changed files with 6 additions and 0 deletions
|
@ -2,3 +2,9 @@
|
|||
for = "/*"
|
||||
[headers.values]
|
||||
Access-Control-Allow-Origin = "*"
|
||||
|
||||
[[headers]]
|
||||
for = "/_img/place/*.png"
|
||||
[headers.values]
|
||||
# 28 days
|
||||
cache-control = "public, max-age=604800"
|
Loading…
Reference in a new issue