Skip to content

Commit 15688d6

Browse files
authored
Merge pull request #56 from apsinghdev/Add/vercel
Deploy backend to vercel
2 parents 717968d + fee191b commit 15688d6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

api/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"server": "nodemon index.js",
10+
"start": "node index.js",
1011
"lint": "eslint ."
1112
},
1213
"keywords": [],

api/vercel.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "version": 2, "rewrites": [{ "source": "/(.*)", "destination": "/api" }] }

0 commit comments

Comments
 (0)