chore: Update vercel.json to reorder rewrites for better matching
All checks were successful
CI / cache-and-install (push) Successful in 1m58s

This commit is contained in:
严浩
2024-09-18 13:39:03 +08:00
parent 5422f68b45
commit 8413ca52b8

View File

@ -1,6 +1,6 @@
{ {
"rewrites": [ "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" }
] ]
} }