forked from TradeTrust/tradetrust-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
33 lines (27 loc) · 799 Bytes
/
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
[[redirects]]
from = "/imd@"
to = "/imd@/index.html"
status = 200
[[redirects]]
from = "/resources"
to = "/learn"
[[redirects]]
from = "/contact"
to = "https://www.form.gov.sg/635f32c5001b2d0011fff09b"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[build]
ignore = "git log -1 --pretty=%B | grep dependabot"
# Unset the infura key with domain restriction for branch previews
# so that the default key (without domain restriction) is used instead
[context.deploy-preview]
[context.deploy-preview.environment]
INFURA_API_KEY = ""
[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
Strict-Transport-Security = "max-age=31536000; includeSubDomains"
Content-Security-Policy = "img-src 'self'; frame-ancestors 'self';"