-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
29 lines (25 loc) · 849 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
[[plugins]]
package = "netlify-plugin-cache"
[plugins.inputs]
paths = [ ".cache" ]
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = '''
default-src 'self';
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://plausible.io;
style-src 'self' 'unsafe-inline';
img-src 'self';
object-src 'none';
connect-src 'self' https://plausible.io;
upgrade-insecure-requests;
block-all-mixed-content;
'''
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "autoplay=(), camera=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=()"
[build]
command = "npm run build"
publish = "dist"