fix: only pngs

This commit is contained in:
Nolan Lawson 2024-05-04 13:05:28 -07:00
parent 1ba3fed12a
commit 67ecd471af
1 changed files with 2 additions and 2 deletions

View File

@ -44,13 +44,13 @@ const JSON_TEMPLATE = {
} }
}, },
{ {
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: '^/.*\\.(svg|css|json|map|txt|gz|webapp|woff|woff2)$',
headers: { headers: {
'cache-control': 'public,max-age=3600' 'cache-control': 'public,max-age=3600'
} }