Skip to content

Commit

Permalink
fix vulnerabilities issues and deploy to vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
BigYusuf committed Jan 24, 2023
1 parent 2348ee8 commit 44b257d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"helmet": "^5.0.2",
"http-status-codes": "^2.2.0",
"joi": "^17.6.0",
"jsonwebtoken": "^8.5.1",
"jsonwebtoken": "^9.0.0",
"mongoose": "^6.2.0",
"rate-limiter": "^0.2.0",
"swagger-ui-express": "^4.3.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": "./API/server.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/"
}
]
}

0 comments on commit 44b257d

Please sign in to comment.