forked from chainguard-dev/edu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
34 lines (28 loc) · 1.33 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
[build]
publish = "public"
command = "npm run build"
[context.production.environment]
HUGO_ENV = "production"
HUGO_VERSION = "0.104.3"
[context.deploy-preview]
command = "hugo --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_ENV = "staging"
HUGO_VERSION = "0.104.3"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"
X-XSS-Protection = "0"
X-Content-Type-Options = "nosniff"
Content-Security-Policy = '''
default-src 'self';
frame-src 'self' edu.chainguard.dev /rumble/ /js/rumble.js https://player.vimeo.com https://www.youtube.com https://www.youtube-nocookie.com https://platform.twitter.com https://syndication.twitter.com https://visualization-ui.chainguard.app https://terminal.inky.wtf;
style-src 'self' edu.chainguard.dev 'unsafe-inline' cdn.jsdelivr.net https://fonts.googleapis.com https://unpkg.com;
form-action 'self';
font-src 'self' edu.chainguard.dev https://fonts.googleapis.com https://fonts.gstatic.com https://cdn.jsdelivr.net;
script-src 'self' edu.chainguard.dev 'unsafe-inline' *.googleapis.com cdn.jsdelivr.net *.netlify.app *.googletagmanager.com;
connect-src 'self' edu.google-analytics.com; *.google-analytics.com *.googleapis.com;
img-src 'self' edu.chainguard.dev data:;
base-uri 'self';
'''