-
Notifications
You must be signed in to change notification settings - Fork 8
/
now.json
33 lines (33 loc) · 673 Bytes
/
now.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
{
"scope": "mcw-anesth",
"name": "ics-merger",
"version": 2,
"builds": [
{
"src": "package.json",
"use": "@now/static-build",
"config": {
"distDir": "public"
}
},
{
"src": "env.json",
"use": "@now/static"
},
{
"src": "src/calendar-handler.js",
"use": "@now/node"
},
{
"src": "src/combine-handler.js",
"use": "@now/node"
}
],
"routes": [
{ "src": "/env.json", "dest": "env.json" },
{ "src": "/combine\\.ics(.*)", "dest": "/src/combine-handler.js" },
{ "src": "/(.+)\\.ics(.*)", "dest": "/src/calendar-handler.js" },
{ "src": "/(.+)\\.(.+)", "dest": "/$1.$2" },
{ "src": "/(.*)", "dest": "/index.html" }
]
}