This repository has been archived by the owner on Aug 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathnetlify.toml
69 lines (65 loc) · 1.92 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
[context.develop.environment]
YARN_VERSION = "1.22.10"
NODE_VERSION = "14"
[context.master.environment]
YARN_VERSION = "1.22.10"
NODE_VERSION = "14"
[build]
command = "yarn run build"
functions = "out_functions"
publish = "out_publish"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = '''
default-src 'none';
base-uri 'self';
block-all-mixed-content;
child-src 'none';
connect-src 'self' data: https://api.imgur.com;
font-src 'self';
manifest-src 'self';
form-action 'self';
frame-src https://www.youtube.com https://genshinmap.github.io/;
img-src 'self' data: https://*;
media-src 'none';
object-src 'self';
script-src 'self' https://apis.google.com/;
prefetch-src 'self';
frame-ancestors 'self' https://genshinmap.github.io/;
style-src 'unsafe-inline' 'self' https://cdnjs.cloudflare.com;'''
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "no-referrer"
Permissions-Policy = '''
clipboard-write 'self';
layout-animations 'self';
accelerometer 'none';
ambient-light-sensor 'none';
autoplay 'none';
battery 'none';
camera 'none';
display-capture 'none';
document-domain 'none';
encrypted-media 'none';
execution-while-not-rendered 'none';
execution-while-out-of-viewport 'none';
fullscreen 'none';
geolocation 'none';
gyroscope 'none';
legacy-image-formats 'none';
magnetometer 'none';
microphone 'none';
midi 'none';
navigation-override 'none';
oversized-images 'none';
payment 'none';
picture-in-picture 'none';
publickey-credentials-get 'none';
screen-wake-lock 'none';
sync-xhr 'none';
usb 'none';
vr 'none';
wake-lock 'none';
web-share 'none';
xr-spatial-tracking 'none';'''