From d3d4b5102a6db12266c10d9d55bd17b72c51ae6d Mon Sep 17 00:00:00 2001 From: Nectariferous Date: Thu, 18 Jul 2024 09:54:01 +0600 Subject: [PATCH] Create vercel.json --- vercel.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..5ac038b --- /dev/null +++ b/vercel.json @@ -0,0 +1,19 @@ +{ + "version": 2, + "builds": [ + { + "src": "server.js", + "use": "@vercel/node" + } + ], + "routes": [ + { + "src": "/api/(.*)", + "dest": "server.js" + }, + { + "src": "/(.*)", + "dest": "server.js" + } + ] +}