1
Fork 0

Add netlify config

This commit is contained in:
Jake Howard 2019-09-21 17:06:19 +01:00
parent 0cc0ed249c
commit 38452f4b06
Signed by: jake
GPG key ID: 57AFB45680EDD477

17
netlify.toml Normal file
View file

@ -0,0 +1,17 @@
[build]
publish = "public/"
command = "./scripts/build.sh --minify"
[build.environment]
HUGO_VERSION = "0.55.6"
NODE_ENV = "production"
NPM_CONFIG_PRODUCTION = "false"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "same-origin"
Strict-Transport-Security = "max-age=5184000"