diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..61f3582 --- /dev/null +++ b/vercel.json @@ -0,0 +1,18 @@ +{ + "version": 2, + "builds": [ + { + "src": "src/main.ts", + "use": "@vercel/node" + } + ], + "buildCommand": "npm run build", + "installCommand": "npm install", + "routes": [ + { + "src": "/(.*)", + "dest": "src/main.ts", + "methods": ["GET", "POST", "PUT", "DELETE"] + } + ] +}