chore: remove index.html and update vercel.json for API routing

This commit is contained in:
MythEclipse
2026-05-07 20:45:18 +07:00
parent db175e6e95
commit 4c30f2a6e1
3 changed files with 12 additions and 547 deletions
+12 -1
View File
@@ -2,5 +2,16 @@
"$schema": "https://openapi.vercel.sh/vercel.json",
"bunVersion": "1",
"installCommand": "bun install",
"outputDirectory": "dist"
"outputDirectory": "dist",
"trailingSlash": false,
"rewrites": [
{
"source": "/api",
"destination": "/api/index.ts"
},
{
"source": "/api/(.*)",
"destination": "/api/index.ts"
}
]
}