From 277530b8c61b7bb7a2d9a04dd9bfa8efda17fa2f Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 4 May 2024 13:08:40 -0700 Subject: [PATCH] fix: fixup --- bin/build-vercel-json.js | 2 +- vercel.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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" }