forked from zhongfly/now-subconverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
now.json
47 lines (47 loc) · 1.02 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"version": 2,
"github": {
"silent": true
},
"builds": [
{
"src": "sub-web/**",
"use": "@now/static"
},
{
"src": "subconverter/subconverter.exe",
"use": "now-static-bin",
"config": {
"port": 25500,
"timeout": 1500,
"includeFiles": [
"subconverter/**"
]
}
}
],
"routes": [
{
"src": "/(js|css|fonts)/(.*)",
"headers": {
"cache-control": "max-age=31536000, immutable"
},
"dest": "sub-web/$1/$2"
},
{
"handle": "filesystem"
},
{
"src": "/",
"dest": "sub-web/index.html"
},
{
"src": "/favicon\\.ico",
"dest": "sub-web/favicon.ico"
},
{
"src": "/(.*)",
"dest": "subconverter/subconverter.exe"
}
]
}