Skip to content

Commit 7cafd34

Browse files
committed
feature(be) - integration of backend with vercel
1 parent b2a5c75 commit 7cafd34

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

PROCFILE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: node x-clone-backend/index.js

x-clone-backend/vercel.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"version": 2,
3+
"builds": [
4+
{
5+
"src": "server.js",
6+
"use": "@vercel/node"
7+
}
8+
],
9+
"routes": [
10+
{
11+
"src": "/(.*)",
12+
"dest": "server.js"
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)