feat: implement API handler for edge runtime with method validation and target normalization

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