Skip to content

Commit

Permalink
added vercel file
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna100604 committed Jul 29, 2024
1 parent aacf4c2 commit 2e23441
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MONGODB_URL=mongodb+srv://krp5599:[email protected]/?retryWrites=true&w=majority&appName=Code-Quest
JWT_SECRET=4c0d608098b78d61cf5654965dab8b53632bf831dc6b43f29289411376ac107b
PORT=5000

7 changes: 7 additions & 0 deletions server/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"version":2,
"builds": [{"src": "./index.js", "use":
"@vercel/node" }],
"routes":[{"src": "/(.*)" , "dest":"/"}]

}

0 comments on commit 2e23441

Please sign in to comment.