From a6e8192e648c2cd8d5fa5df483404c5649f12221 Mon Sep 17 00:00:00 2001 From: Shubham Lal Date: Tue, 2 Apr 2024 13:35:12 +0530 Subject: [PATCH] deploy: fix deploy error --- client/vercel.json | 8 ++++++++ server/vercel.json | 17 ----------------- 2 files changed, 8 insertions(+), 17 deletions(-) create mode 100644 client/vercel.json delete mode 100644 server/vercel.json diff --git a/client/vercel.json b/client/vercel.json new file mode 100644 index 0000000..998278c --- /dev/null +++ b/client/vercel.json @@ -0,0 +1,8 @@ +{ + "rewrites": [ + { + "source": "/(.*)", + "destination": "/" + } + ] +} \ No newline at end of file diff --git a/server/vercel.json b/server/vercel.json deleted file mode 100644 index 49a26b6..0000000 --- a/server/vercel.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "env": { - "BRANCH": "main" - }, - "builds": [ - { - "src": "./server.js", - "use": "@vercel/node" - } - ], - "routes": [ - { - "src": "/(.*)", - "dest": "server.js" - } - ] -} \ No newline at end of file