fix: fixup
This commit is contained in:
parent
67ecd471af
commit
277530b8c6
|
@ -50,7 +50,7 @@ const JSON_TEMPLATE = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: '^/.*\\.(svg|css|json|map|txt|gz|webapp|woff|woff2)$',
|
src: '^/.*\\.(css|json|svg|map|txt|gz|webapp|woff|woff2)$',
|
||||||
headers: {
|
headers: {
|
||||||
'cache-control': 'public,max-age=3600'
|
'cache-control': 'public,max-age=3600'
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,13 +29,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "^/.*\\.(png|svg|jpe?g)$",
|
"src": "^/.*\\.(png|jpe?g)$",
|
||||||
"headers": {
|
"headers": {
|
||||||
"cache-control": "public,max-age=31536000,immutable"
|
"cache-control": "public,max-age=31536000,immutable"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "^/.*\\.(css|json|map|txt|gz|webapp|woff|woff2)$",
|
"src": "^/.*\\.(css|json|svg|map|txt|gz|webapp|woff|woff2)$",
|
||||||
"headers": {
|
"headers": {
|
||||||
"cache-control": "public,max-age=3600"
|
"cache-control": "public,max-age=3600"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue