-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
40 lines (33 loc) · 1.15 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
[build]
publish = "public"
[build.environment]
HUGO_ENABLEGITINFO = "true"
NODE_VERSION = "19"
[build.processing]
skip_processing = true
[dev]
# local development with the Netlify CLI
command = "bash ./scripts/local-server.sh"
targetPort = 1313
port = 8000
[context.production]
command = "bash ./scripts/netlify-deploy-production.sh"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "bash ./scripts/netlify-deploy-preview.sh"
[context.deploy-preview.environment]
HUGO_ENV = "staging"
[context.branch-deploy]
command = "bash ./scripts/netlify-branch-deploy.sh"
[context.branch-deploy.environment]
HUGO_ENV = "branch-deploy"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "X-XSS-Protection: 1"
Referrer-Policy = "no-referrer-when-downgrade"
Strict-Transport-Security = "max-age=2592000"
Permissions-Policy = "vibrate=(), geolocation=(), midi=(), notifications=(), push=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), speaker=(), vibrate=(), fullscreen=(), payment=()"