Merge pull request #1249 from Hans5958/cache

Add cache-control
This commit is contained in:
Stefano 2022-04-12 12:48:13 +02:00 committed by GitHub
commit 8fa631e8ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"