-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathnetlify.toml
More file actions
55 lines (45 loc) · 1.12 KB
/
Copy pathnetlify.toml
File metadata and controls
55 lines (45 loc) · 1.12 KB
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
[build]
command = "pnpm run build"
publish = ".next"
[build.environment]
NODE_VERSION = "18"
PNPM_VERSION = "8.10.0"
AWS_LAMBDA_JS_RUNTIME = "nodejs18.x"
[[plugins]]
package = "@netlify/plugin-lighthouse"
[[plugins]]
package = "@netlify/plugin-nextjs"
[[headers]]
for = "/keys/security@defichain.com.public.key"
[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