From e819f1d5e23fde387053da5b20786b99c3579803 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 27 Mar 2022 16:35:54 -0700 Subject: [PATCH] fix: fix vercel.json --- bin/build-vercel-json.js | 2 +- vercel.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/build-vercel-json.js b/bin/build-vercel-json.js index 100939e4..d7ecbcae 100644 --- a/bin/build-vercel-json.js +++ b/bin/build-vercel-json.js @@ -51,7 +51,7 @@ const JSON_TEMPLATE = { } }, { - src: '^/.*\\.(png|css|json|svg|jpe?g|map|txt|gz|webapp|woff2)$', + src: '^/.*\\.(png|css|json|svg|jpe?g|map|txt|gz|webapp|woff|woff2)$', headers: { 'cache-control': 'public,max-age=3600' } diff --git a/vercel.json b/vercel.json index d295c516..cc0b5abe 100644 --- a/vercel.json +++ b/vercel.json @@ -36,7 +36,7 @@ } }, { - "src": "^/.*\\.(png|css|json|svg|jpe?g|map|txt|gz|webapp|woff2)$", + "src": "^/.*\\.(png|css|json|svg|jpe?g|map|txt|gz|webapp|woff|woff2)$", "headers": { "cache-control": "public,max-age=3600" }