feat: add assets cache & fix manifest content type (#54)
* feat: add assets cache & fix manifest content type * fix: manifest content-type
This commit is contained in:
1 parent
92deaa64ba
commit
235f64902e
2 files changed
+8
No files matched your search
@@ -10,3 +10,8 @@
|
|||||||
from = "/*"
|
from = "/*"
|
||||||
to = "/index.html"
|
to = "/index.html"
|
||||||
status = 200
|
status = 200
|
||||||
|
|
||||||
|
[[headers]]
|
||||||
|
for = "/manifest.webmanifest"
|
||||||
|
[headers.values]
|
||||||
|
Content-Type = "application/manifest+json"
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
/assets/*
|
||||||
|
cache-control: max-age=31536000
|
||||||
|
cache-control: immutable
|
||||||
Reference in new issue
Block a user