forked from hop-protocol/hop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
26 lines (23 loc) · 814 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
[build]
base = "packages/frontend/"
command = "yarn build"
publish = "build/"
[[redirects]]
from = "/*"
to = "/451.html"
status = 451
force = true
conditions = {Country=["BY","BI","CF","CI","CU","CD","ET","IR","IQ","KP","LB","LR","LY","MM","NI","SO","SS","SD","SY","VE","YE","ZW"]}
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
Feature-Policy = "geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment 'none'"