forked from DeFiCh/defichain.com
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnetlify.toml
127 lines (98 loc) · 3.28 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[build]
command = "hugo"
publish = "public"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'none'; base-uri 'none'; child-src 'self' app.netlify.com; form-action 'none'; frame-ancestors 'none'; img-src 'self' data: img.youtube.com *.githubusercontent.com *.coinmarketcap.com www.facebook.com; media-src 'self'; object-src 'none'; script-src 'self' app.netlify.com netlify-cdp-loader.netlify.app cdnjs.cloudflare.com ajax.googleapis.com cdn.jsdelivr.net files.coinmarketcap.com px.ads.linkedin.com www.google.com www.google-analytics.com www.gstatic.com connect.facebook.net snap.licdn.com static.ads-twitter.com www.youtube.com 'unsafe-inline'; style-src 'self' fonts.googleapis.com 'unsafe-inline'; font-src fonts.gstatic.com; connect-src 'self' api.cakedefi.com mainnet-api.defichain.io ocean.defichain.com 3rdparty-apis.coinmarketcap.com api.github.com; prefetch-src 'self'; manifest-src 'self'; frame-src www.youtube.com;"
Referrer-Policy = "same-origin"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
[[redirects]]
from = "http://defichain.com/*"
to = "https://defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://defichain.com/*"
to = "https://defichain.com/en/:splat"
status = 200
[[redirects]]
from = "http://zhs.defichain.com/*"
to = "https://zhs.defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://zhs.defichain.com/*"
to = "https://defichain.com/zh-hans/:splat"
status = 200
[[redirects]]
from = "http://zht.defichain.com/*"
to = "https://zht.defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://zht.defichain.com/*"
to = "https://defichain.com/zh-hant/:splat"
status = 200
[[redirects]]
from = "http://zh.defichain.com/*"
to = "https://zh.defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://zh.defichain.com/*"
to = "https://defichain.com/zh-hans/:splat"
status = 200
[[redirects]]
from = "http://defichain.io/*"
to = "https://defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://defichain.io/*"
to = "https://defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "http://www.defichain.io/*"
to = "https://defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.defichain.io/*"
to = "https://defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "http://zht.defichain.io/*"
to = "https://zht.defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://zht.defichain.io/*"
to = "https://zht.defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "http://zhs.defichain.io/*"
to = "https://zhs.defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://zhs.defichain.io/*"
to = "https://zhs.defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://zh.defichain.io/*"
to = "https://zh.defichain.com/:splat"
status = 301
force = true
[[redirects]]
from = "http://zh.defichain.io/*"
to = "https://zh.defichain.com/:splat"
status = 301
force = true