mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-05-21 13:44:20 +02:00
Cache new folders for canvas
This commit is contained in:
parent
1afbd77b82
commit
ab573d11b0
10
netlify.toml
10
netlify.toml
|
@ -1,10 +0,0 @@
|
|||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
Access-Control-Allow-Origin = "*"
|
||||
|
||||
[[headers]]
|
||||
for = "/_img/place/*.png"
|
||||
[headers.values]
|
||||
# 28 days
|
||||
cache-control = "public, max-age=604800"
|
|
@ -4,3 +4,8 @@
|
|||
/_img/place/*.png
|
||||
cache-control: public, max-age=604800
|
||||
|
||||
/_img/canvas/*/*.png
|
||||
cache-control: public, max-age=604800
|
||||
|
||||
/_img/canvas/*.png
|
||||
cache-control: public, max-age=604800
|
||||
|
|
Loading…
Reference in a new issue