-
Notifications
You must be signed in to change notification settings - Fork 3
/
vercel.json
80 lines (80 loc) · 1.78 KB
/
vercel.json
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"version": 2,
"builds": [
{
"src": "api/src/vercel-index.js",
"use": "@vercel/node"
},
{
"src": "web-react/package.json",
"use": "@vercel/static-build",
"config": {
"distDir": "build"
}
}
],
"routes": [
{
"src": "/(.*)",
"dest": "api/src/vercel-index.js"
},
{
"src": "/static/(.*)",
"headers": {
"cache-control": "s-maxage=31536000,immutable"
},
"dest": "web-react/static/$1"
},
{
"src": "/favicon.ico",
"dest": "web-react/favicon.ico"
},
{
"src": "/img/(.*)",
"dest": "web-react/img/$1"
},
{
"src": "/asset-manifest.json",
"dest": "web-react/asset-manifest.json"
},
{
"src": "/manifest.json",
"dest": "web-react/manifest.json"
},
{
"src": "/precache-manifest.(.*)",
"dest": "web-react/precache-manifest.$1"
},
{
"src": "/service-worker.js",
"headers": {
"cache-control": "s-maxage=0"
},
"dest": "web-react/service-worker.js"
},
{
"src": "^(.*)$",
"headers": {
"cache-control": "s-maxage=0"
},
"dest": "/web-react/index.html"
}
],
"build": {
"env": {
"REACT_APP_GRAPHQL_URI": "/graphql",
"NEO4J_URI": "@grand_stack_starter_neo4j_uri",
"NEO4J_USER": "@grand_stack_starter_neo4j_user",
"NEO4J_PASSWORD": "@grand_stack_starter_neo4j_password"
}
},
"env": {
"NEO4J_URI": "@grand_stack_starter_neo4j_uri",
"NEO4J_USER": "@grand_stack_starter_neo4j_user",
"NEO4J_PASSWORD": "@grand_stack_starter_neo4j_password",
"REACT_APP_GRAPHQL_URI": "/graphql",
"PROXY": "http://localhost:4001/",
"GRAPHQL_LISTEN_PORT": "4001",
"GRAPHQL_URI": "/graphql"
}
}