forked from HackermanHDTV/Chess
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
25 lines (25 loc) · 690 Bytes
/
vercel.json
File metadata and controls
25 lines (25 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"version": 2,
"buildCommand": "export NODE_OPTIONS=--openssl-legacy-provider && export CI=false && cd client && npm run build && mv build ../server",
"installCommand": "export NODE_OPTIONS=--openssl-legacy-provider && cd client && npm i && cd ../server && npm i",
"builds": [
{
"src": "server/index.js",
"use": "@vercel/node"
},
{
"src": "server/build/**",
"use": "@vercel/static"
}
],
"routes": [
{
"src": "/(.*\\..*)",
"dest": "server/build/$1"
},
{
"src": "/(.*)",
"dest": "server/index.js"
}
]
}