blog/netlify.toml

29 lines
539 B
TOML
Raw Normal View History

2018-09-30 06:17:57 +00:00
[build]
command = "snyk auth $SNYK_TOKEN && snyk protect && snyk test"
[context.production]
publish = "public/"
command = "hexo generate"
[[headers]]
for = "/*"
[headers.value]
2018-09-30 07:49:41 +00:00
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
2018-09-30 06:17:57 +00:00
2018-09-30 07:49:41 +00:00
[[headers]]
for = "*.html"
[headers.value]
Content-Encoding = "gzip, br"
[[headers]]
for = "*.css"
[headers.value]
Content-Encoding = "gzip, br"
[[headers]]
for = "*.js"
2018-09-30 06:17:57 +00:00
[headers.value]
2018-09-30 07:49:41 +00:00
Content-Encoding = "gzip, br"