diff --git a/bin/build-vercel-json.js b/bin/build-vercel-json.js index b1bee356..81af2e07 100644 --- a/bin/build-vercel-json.js +++ b/bin/build-vercel-json.js @@ -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: { 'cache-control': 'public,max-age=3600' } diff --git a/vercel.json b/vercel.json index dd101a1e..56ab19fc 100644 --- a/vercel.json +++ b/vercel.json @@ -29,13 +29,13 @@ } }, { - "src": "^/.*\\.(png|svg|jpe?g)$", + "src": "^/.*\\.(png|jpe?g)$", "headers": { "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": { "cache-control": "public,max-age=3600" }