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

This commit is contained in:
MythEclipse committed 2026-05-07 20:45:18 +07:00
1 parent db175e6e95
commit 4c30f2a6e1
3 files changed
+12 -547

No files matched your search

+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"
}
]
}