blog/netlify.toml

14 lines
936 B
TOML
Raw Normal View History

2018-09-30 06:17:57 +00:00
[context.production]
2018-09-30 08:06:24 +00:00
publish = "public"
command = "npm run snyk && npm run hexo"
2018-09-30 06:17:57 +00:00
[[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"
2019-05-20 01:45:27 +00:00
Content-Security-Policy = "default-src https; script-src https://cdnjs.cloudflare.com https://curben.netlify.com https://*--curben.netlify.com 'unsafe-inline'; style-src https://cdnjs.cloudflare.com https://curben.netlify.com https://*--curben.netlify.com; block-all-mixed-content; form-action 'none'; frame-ancestors 'none'"
Referrer-Policy = "no-referrer"
2019-05-20 02:22:05 +00:00
Strict-Transport-Security = "max-age=31536000"
2019-05-20 01:45:27 +00:00
Feature-Policy = "accelerometer 'none'; autoplay 'none'; camera 'none'; document.domain 'none'; display-capture 'none'; encrypted-media 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; payment 'none'; sync-xhr 'none'; usb 'none'"