adding vercel json

This commit is contained in:
sairaj mote 2023-12-06 20:16:30 +05:30
parent a13295434f
commit b8ed021bf6
2 changed files with 17 additions and 1 deletions

View File

@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"devStart": "nodemon index.js"
"dev": "nodemon index.js",
"start": "node index.js"
},
"author": "",
"license": "ISC",

15
vercel.json Normal file
View File

@ -0,0 +1,15 @@
{
"version": 2,
"builds": [
{
"src": "index.js",
"use": "@now/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "index.js"
}
]
}