fix: update fetch API endpoint and adjust rewrites in vercel.json
This commit is contained in:
+7
-1
@@ -1,5 +1,11 @@
|
||||
{
|
||||
"$schema": "https://openapi.vercel.sh/vercel.json",
|
||||
"bunVersion": "1",
|
||||
"installCommand": "bun install"
|
||||
"installCommand": "bun install",
|
||||
"rewrites": [
|
||||
{ "source": "/api", "destination": "/api/index.ts" },
|
||||
{ "source": "/api/(.*)", "destination": "/api/index.ts" },
|
||||
{ "source": "/public/(.*)", "destination": "/public/$1" },
|
||||
{ "source": "/(.*)", "destination": "/public/$1" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user