Add netlify config
This commit is contained in:
parent
0cc0ed249c
commit
38452f4b06
1 changed files with 17 additions and 0 deletions
17
netlify.toml
Normal file
17
netlify.toml
Normal 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"
|
Reference in a new issue