-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
32 lines (29 loc) · 1.18 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
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*"
[headers.values]
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Content-Security-Policy = '''
font-src 'self' fonts.gstatic.com gstatic.com *.gstatic.com;
script-src 'self' https://*.cloudfront.net *.googletagmanager.com;
style-src 'self' 'unsafe-inline' https://*.cloudfront.net https://fonts.googleapis.com;
frame-src https://wallet.arcana.network https://wallet.beta.arcana.network https://wallet.dev.arcana.network;
frame-ancestors 'self';
'''
[[headers]]
for = "/assets/*"
[headers.values]
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Content-Security-Policy = '''
font-src self fonts.gstatic.com gstatic.com *.gstatic.com;
script-src 'self' https://*.cloudfront.net *.googletagmanager.com;;
style-src 'self' 'unsafe-inline' https://*.cloudfront.net https://fonts.googleapis.com;
frame-src https://wallet.arcana.network https://wallet.beta.arcana.network https://wallet.dev.arcana.network;
frame-ancestors 'self';
'''
cache-control = "max-age=31536000, immutable"