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
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "module",
"private": true,
"scripts": {
"build": "bun build src/index.ts --target=bun --outdir=api && mkdir -p dist && cp public/index.html dist/index.html",
"build": "mkdir -p dist && cp public/index.html dist/index.html",
"start": "bun run src/index.ts",
"dev": "bun --hot run src/index.ts",
"test": "bun test",