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
1 changed files with 17 additions and 0 deletions

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"