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:
parent
92deaa64ba
commit
235f64902e
@ -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"
|
3
public/_headers
Normal file
3
public/_headers
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
/assets/*
|
||||||
|
cache-control: max-age=31536000
|
||||||
|
cache-control: immutable
|
Loading…
Reference in New Issue
Block a user