From 6cc452bf608f59c480e44309d4b8d79abccf5e59 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 1 Mar 2024 02:15:11 +0800 Subject: [PATCH] feat: move vercel entrance to api --- {lib => api}/vercel.ts | 0 tsconfig.json | 2 +- vercel.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {lib => api}/vercel.ts (100%) diff --git a/lib/vercel.ts b/api/vercel.ts similarity index 100% rename from lib/vercel.ts rename to api/vercel.ts diff --git a/tsconfig.json b/tsconfig.json index 4b58296c00b042..5135a96656c2f3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,6 +13,6 @@ "noImplicitAny": false, "outDir": "./dist" }, - "include": ["./lib/**/*"], + "include": ["./lib/**/*", "./api/vercel.ts"], "exclude": ["node_modules", "*.test.*"] } diff --git a/vercel.json b/vercel.json index 947b366714d426..926062f26f462b 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,5 @@ { "framework": null, "github": { "silent": true }, - "routes": [{ "src": "/.*", "dest": "/lib/vercel.ts" }] + "routes": [{ "src": "/.*", "dest": "/api/vercel.ts" }] }