From 7fd7b4b8521c41ec5d985b4c6ea1d38a424ef373 Mon Sep 17 00:00:00 2001 From: yogendradevil Date: Sat, 30 Sep 2023 01:57:32 +0530 Subject: [PATCH] for vercel --- vercel.json | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/vercel.json b/vercel.json index 97f2aa5..c74ce4a 100644 --- a/vercel.json +++ b/vercel.json @@ -1,22 +1,12 @@ { "version": 2, - "routes": [ - { - "src": "/public/(.*)", - "dest": "/public/$1" - }, - { - "src": "/securedata", - "dest": "/securedata" - }, + "builds": [ { - "src": "/stext", - "dest": "/stext" - }, - { - "src": "/getData", - "dest": "/getData" - }, + "src": "./app.js", + "use": "@vercel/node" + } + ], + "routes": [ { "src": "/(.*)", "dest": "/"