Skip to content

Commit 2885caa

Browse files
committed
adding header config for netlify
1 parent 6bff481 commit 2885caa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

netlify.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,10 @@ command = "git submodule update --init --recursive --depth 1 && make deploy-prev
2727
# DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads)
2828
publish = "public"
2929
command = "git submodule update --init --recursive --depth 1 && make production-build"
30+
31+
# adding in headers to prevent clickjacking
32+
[[headers]]
33+
for = "/*"
34+
[headers.values]
35+
X-Frame-Options = "DENY"
36+
X-XSS-Protection = "1; mode=block"

0 commit comments

Comments
 (0)