adding header config for netlify

pull/27344/head
Jim Angel 2021-03-30 21:14:20 -05:00
parent 6bff481ebc
commit 2885caa95c
1 changed files with 7 additions and 0 deletions

View File

@ -27,3 +27,10 @@ command = "git submodule update --init --recursive --depth 1 && make deploy-prev
# DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads)
publish = "public"
command = "git submodule update --init --recursive --depth 1 && make production-build"
# adding in headers to prevent clickjacking
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"