-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
26 lines (24 loc) · 1019 Bytes
/
vercel.json
File metadata and controls
26 lines (24 loc) · 1019 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
{
"version": 2,
"installCommand": "npm install --legacy-peer-deps",
"functions": {
"api/robot/sim/load-simulation.js": {
"maxDuration": 60,
"memory": 1024
},
"api/ipfs/upload.js": {
"maxDuration": 60,
"memory": 512
}
},
"rewrites": [
{ "source": "/api/robot/sim/load-simulation", "destination": "/api/robot/sim/load-simulation.js" },
{ "source": "/api/robot/command/:simulation_id", "destination": "/api/robot/command/[simulation_id].js" },
{ "source": "/api/robot/status/:simulation_id/:device_node", "destination": "/api/robot/status/[simulation_id]/[device_node].js" },
{ "source": "/api/robot/robots/:wallet", "destination": "/api/robot/robots/[wallet].js" },
{ "source": "/api/robot/robots", "destination": "/api/robot/robots.js" },
{ "source": "/api/agents/(.*)", "destination": "https://havenserver.com/agents/$1" },
{ "source": "/api/(.*)", "destination": "/api/$1" },
{ "source": "/(.*)", "destination": "/index.html" }
]
}