From 8da0111ef1681d3d2efb0e7650b3bf64ec42c855 Mon Sep 17 00:00:00 2001 From: KingRayhan Date: Thu, 18 May 2023 19:42:23 +0600 Subject: [PATCH] vercel.json --- vercel.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 vercel.json 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"] + } + ] +}