fix: fixup

This commit is contained in:
Nolan Lawson 2024-05-04 13:08:40 -07:00
parent 67ecd471af
commit 277530b8c6
2 changed files with 3 additions and 3 deletions

View File

@ -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'
} }

View File

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