Skip to content

Commit

Permalink
feature(be) - integration of backend with vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
realpxd committed Apr 5, 2024
1 parent b2a5c75 commit 7cafd34
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions PROCFILE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node x-clone-backend/index.js
15 changes: 15 additions & 0 deletions x-clone-backend/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": 2,
"builds": [
{
"src": "server.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "server.js"
}
]
}

0 comments on commit 7cafd34

Please sign in to comment.