Skip to content

Commit

Permalink
chore: Add a vercel.json for the backend
Browse files Browse the repository at this point in the history
  • Loading branch information
swk-dean committed Aug 25, 2024
1 parent 5b1c454 commit 9ccf7ae
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions apps/backend/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 2,

"builds": [
{
"src": "src/main.ts",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "src/main.ts",
"methods": ["GET", "POST", "PUT", "PATCH", "DELETE"]
}
]
}

0 comments on commit 9ccf7ae

Please sign in to comment.