From 8e50591c1bb3561f627a6f56ab2549b25780b5c4 Mon Sep 17 00:00:00 2001 From: RavelloH Date: Thu, 22 Feb 2024 12:54:30 +0800 Subject: [PATCH] =?UTF-8?q?Page.=20=E4=BC=98=E5=8C=96=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vercel.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 00000000..4d28219c --- /dev/null +++ b/vercel.json @@ -0,0 +1,31 @@ +{ + "github": { + "silent": true + }, + "cleanUrls": true, + "trailingSlash": true, + "headers": [ + { + "source": "/(.*).(ttf|woff|woff2)", + "headers": [ + { + "key": "Cache-Control", + "value": "public, max-age=31536000, immutable" + } + ] + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "source": "/assets/images/(.*)", + "headers": [ + { + "key": "Cache-Control", + "value": "public, max-age=31536000, immutable" + } + ] + } + ] +}