From 8413ca52b8d17827c0be3d5ce194cfd87e86d535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Wed, 18 Sep 2024 13:39:03 +0800 Subject: [PATCH] chore: Update vercel.json to reorder rewrites for better matching --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 4b0dd3f..b3f69af 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,6 @@ { "rewrites": [ - { "source": "/(.*)", "destination": "/index.html" }, - { "source": "/npm-registry-api/(.*)", "destination": "https://npm-cf-proxy.oo1.dev/$1" } + { "source": "/npm-registry-api/(.*)", "destination": "https://npm-cf-proxy.oo1.dev/$1" }, + { "source": "/(.*)", "destination": "/index.html" } ] }