-
Notifications
You must be signed in to change notification settings - Fork 16
/
netlify.toml
50 lines (41 loc) · 1.01 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
[build]
command = "pnpm run build"
publish = ".next"
[[plugins]]
package = "@netlify/plugin-lighthouse"
[[plugins]]
package = "@netlify/plugin-nextjs"
[[headers]]
for = "/keys/[email protected]"
[headers.values]
Content-Type = "text/plain"
[[redirects]]
from = "http://defichain.com/*"
to = "https://defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "http://zhs.defichain.com/*"
to = "https://defichain.com/zh-Hans/:splat"
status = 301
force = true
[[redirects]]
from = "https://zhs.defichain.com/*"
to = "https://defichain.com/zh-Hans/:splat"
status = 301
force = true
[[redirects]]
from = "http://zht.defichain.com/*"
to = "https://defichain.com/zh-Hant/:splat"
status = 301
force = true
[[redirects]]
from = "https://zht.defichain.com/*"
to = "https://defichain.com/zh-Hant/:splat"
status = 301
force = true
[[redirects]]
from = "https://defichain.com/dfi-token"
to = "https://defichain.com/dfi"
status = 301
force = true