-
Notifications
You must be signed in to change notification settings - Fork 15
/
netlify.toml
72 lines (59 loc) · 1.55 KB
/
netlify.toml
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
[build]
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
base = ""
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = "out"
# Default build command.
command = "yarn dist"
[[redirects]]
from = "https://gasstations.network/*"
to = "https://www.opengsn.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.gasstations.network/*"
to = "https://www.opengsn.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.gasstation.network/*"
to = "https://www.opengsn.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://gasstation.network/*"
to = "https://www.opengsn.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://gsn.openzeppelin.com/*"
to = "https://www.opengsn.org/:splat"
status = 301
force = true
[[redirects]]
from = "/static/*"
to = "/static/:splat"
status = 200
[[redirects]]
from = "/recipients/*"
to = '/recipients/[address].html'
status = 200
[[redirects]]
from = "/relay-hubs/:relayHubAddress/relay"
to = '/relay-hubs/[relayHubAddress]/relay.html'
status = 200
[[redirects]]
from = "/relay-hubs/*"
to = '/relay-hubs/[relayHubAddress].html'
status = 200
[[redirects]]
from = "/_next/*"
to = "/_next/:splat"
status = 200
[[redirects]]
from = "/*"
to = "/index.html"
status = 200