-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
52 lines (42 loc) · 1.07 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
[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 = '/static/*'
to = '/static/:splat'
status = 200
[[redirects]]
from = '/users/*'
to = '/users/[userAddress].html'
status = 200
[[redirects]]
from = '/recipient'
to = '/recipient.html'
status = 200
[[redirects]]
from = '/recipient/transaction/*'
to = '/recipient/transaction/[txId].html'
status = 200
[[redirects]]
from = '/recipient/transactions'
to = '/recipient/transactions.html'
status = 200
[[redirects]]
from = '/charges/create'
to = '/charges/create.html'
status = 200
[[redirects]]
from = '/_next/*'
to = '/_next/:splat'
status = 200
[[redirects]]
from = '/*'
to = '/index.html'
status = 200