-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
40 lines (36 loc) · 1.09 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
## More info about the config file at
# https://docs.netlify.com/configure-builds/file-based-configuration
#
[build]
base = ""
publish = "build/html/"
command = "./brink.sh generate"
#
# Headers set for all environmets / context
#
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
#
# We allow scripts from external services:
# * Swiftype for search JS script and search image thumbnails.
# * Netlify for preview tools
#
# This is defined as multiple headers as we have some differences in CSP
# headers in production or testing environments.
Content-Security-Policy = '''
default-src 'none';
base-uri 'self';
form-action 'self';
img-src 'self';
script-src 'self' https://geck.chevah.com https://netlify-cdp-loader.netlify.app;
connect-src 'self' https://geck.chevah.com;
style-src 'self';
font-src 'self';
frame-src https://app.netlify.com;
frame-ancestors 'self';
upgrade-insecure-requests;
'''