Skip to content

Commit

Permalink
Added vercel config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun authored and Varun committed Oct 4, 2023
1 parent d9fbd72 commit fa59f61
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
node_modules/
.vercel
5 changes: 0 additions & 5 deletions .vscode/settings.json

This file was deleted.

147 changes: 147 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"express-session": "^1.17.3",
"mongoose": "^7.5.3",
"nodemon": "^3.0.1",
"now": "^19.1.2",
"passport": "^0.6.0",
"passport-google-oauth": "^2.0.0",
"passport-local": "^1.0.0"
Expand Down
15 changes: 15 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": 2,
"builds": [
{
"src": "index.js",
"use": "@now/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "index.js"
}
]
}

0 comments on commit fa59f61

Please sign in to comment.