forked from effector/effector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnow.json
83 lines (83 loc) · 1.76 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
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
81
82
83
{
"name": "effector",
"version": 2,
"github": {
"silent": true
},
"alias": ["effector.now.sh"],
"build": {
"env": {
"SITE_URL": "https://effector.now.sh"
}
},
"builds": [
{
"src": "website/client/package.json",
"use": "@now/static-build",
"config": {"distDir": "build/effector"}
},
{
"src": "website/editor/package.json",
"use": "@now/static-build",
"config": {"distDir": "dist"}
},
{
"src": "website/media/*.*",
"use": "@now/static"
}
],
"routes": [
{
"src": "/favicon.ico",
"dest": "/website/media/favicon.ico"
},
{
"src": "/favicon-16x16.png",
"dest": "/website/media/favicon-16x16.png"
},
{
"src": "/favicon-32x32.png",
"dest": "/website/media/favicon-32x32.png"
},
{
"src": "/android-chrome-192x192.png",
"dest": "/website/media/android-chrome-192x192.png"
},
{
"src": "/android-chrome-512x512.png",
"dest": "/website/media/android-chrome-512x512.png"
},
{
"src": "/apple-touch-icon.png",
"dest": "/website/media/apple-touch-icon.png"
},
{
"src": "/safari-pinned-tab.svg",
"dest": "/website/media/safari-pinned-tab.svg"
},
{
"src": "/site.webmanifest",
"dest": "/website/media/site.webmanifest"
},
{
"src": "/try/(?<file>[^/]+)",
"dest": "/website/editor/$file"
},
{
"src": "/try/?(?<qr>[^/]*)",
"dest": "/website/editor/index.html?$qr"
},
{
"src": "/try",
"status": 301,
"headers": {
"Location": "https://share.effector.dev/",
"cache-control": "s-maxage=1000"
}
},
{
"src": "/(.*)",
"dest": "/website/client/$1"
}
]
}