-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
executable file
·57 lines (52 loc) · 1.42 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
[build]
publish = "_site"
command = "npm run build"
# Redirect Netlify subdomain
[[redirects]]
from = "https://a11yme.netlify.app/*"
to = "https://a11y.me"
status = 301
force = true
[[redirects]]
from = "http://a11yme.netlify.app/*"
to = "https://a11y.me"
status = 301
force = true
[[redirects]]
from = "https://www.a11yme.netlify.app/*"
to = "https://a11y.me"
status = 301
force = true
[[redirects]]
from = "http://www.a11yme.netlify.app/*"
to = "https://a11y.me"
status = 301
force = true
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; img-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self'; connect-src 'self'; worker-src 'self'; manifest-src 'self'; media-src 'self'; object-src 'none'; frame-src 'none'; frame-ancestors 'none';"
Permissions-Policy = '''
accelerometer=(),
ambient-light-sensor=(),
autoplay=(),
camera=(),
encrypted-media=(),
fullscreen=(),
geolocation=(),
gyroscope=(),
magnetometer=(),
microphone=(),
midi=(),
payment=(),
picture-in-picture=(),
speaker=(),
usb=(),
vibrate=(),
vr=()
'''
Referrer-Policy = "strict-origin-when-cross-origin"
Strict-Transport-Security = "max-age=2592000"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "deny"
X-XSS-Protection = "1; mode=block"