Skip to content

Commit

Permalink
Add some headers
Browse files Browse the repository at this point in the history
  • Loading branch information
pepelsbey committed Jul 3, 2024
1 parent 234a044 commit 70b5f83
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,15 @@
from = "/*"
to = "/404/index.html"
status = 404

[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
Content-Security-Policy = """
default-src 'self';
frame-ancestors 'self';
style-src-elem 'self' 'unsafe-inline';
"""
Cross-Origin-Resource-Policy = "same-origin"
Referrer-Policy = "strict-origin-when-cross-origin"

0 comments on commit 70b5f83

Please sign in to comment.