Skip to content

Commit

Permalink
Merge pull request #1641 from silx-kit/headers
Browse files Browse the repository at this point in the history
Prevent iframe embedding and MIME type sniffing
  • Loading branch information
axelboc committed May 14, 2024
2 parents 33be3b4 + f3c9562 commit 3c4240f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@
from = "/*"
to = "/index.html"
status = 200

[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"

0 comments on commit 3c4240f

Please sign in to comment.