feat: Add VITE_DEV_PROXY configuration for npm registry API proxy
All checks were successful
CI / cache-and-install (push) Successful in 2m6s
All checks were successful
CI / cache-and-install (push) Successful in 2m6s
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
{
|
||||
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
|
||||
"rewrites": [
|
||||
{ "source": "/(.*)", "destination": "/index.html" },
|
||||
{ "source": "/npm-registry-api/(.*)", "destination": "https://npm-cf-proxy.oo1.dev/$1" }
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user