feat: move vercel entrance to api

This commit is contained in:
DIYgod
2024-03-01 02:15:11 +08:00
parent 9169e5fe9b
commit 6cc452bf60
3 changed files with 2 additions and 2 deletions

View File

View File

@@ -13,6 +13,6 @@
"noImplicitAny": false, "noImplicitAny": false,
"outDir": "./dist" "outDir": "./dist"
}, },
"include": ["./lib/**/*"], "include": ["./lib/**/*", "./api/vercel.ts"],
"exclude": ["node_modules", "*.test.*"] "exclude": ["node_modules", "*.test.*"]
} }

View File

@@ -1,5 +1,5 @@
{ {
"framework": null, "framework": null,
"github": { "silent": true }, "github": { "silent": true },
"routes": [{ "src": "/.*", "dest": "/lib/vercel.ts" }] "routes": [{ "src": "/.*", "dest": "/api/vercel.ts" }]
} }