Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(security): adding security headers to Netlify #114

Merged
merged 15 commits into from
Aug 17, 2022
12 changes: 11 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
[build]
publish = "build"
command = "yarn build"
command = "yarn build"

[[headers]]
for = "/*"
[headers.values]
Referrer-Policy = "same-origin"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"