From e161ba41b5134d499727698a4438a3b02bc9cbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Mon, 28 Oct 2024 13:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95vercel=E5=8F=8D=E5=90=91?= =?UTF-8?q?=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vercel.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vercel.json b/vercel.json index cc8350f..dae6ead 100644 --- a/vercel.json +++ b/vercel.json @@ -1,10 +1,4 @@ { - "rewrites": [ - { - "source": "/:path*", - "destination": "/index.html" - } - ], "routes": [ { "src": "/api/(.*)", @@ -18,5 +12,11 @@ "src": "/ai/(.*)", "dest": "https://spark-api-open.xf-yun.com/$1" } + ], + "rewrites": [ + { + "source": "/:path*", + "destination": "/index.html" + } ] } \ No newline at end of file