Skip to content

Commit

Permalink
added security headers via _headers file (#202)
Browse files Browse the repository at this point in the history
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Strict-Transport-Security: max-age=31536000; includeSubDomains
Cross-Origin-Opener-Policy: same-origin

Co-authored-by: Guras <[email protected]>
  • Loading branch information
aaroncox and sandroguras authored Jul 25, 2024
1 parent 523e479 commit a2b4d1e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/_headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Apply these headers to all pages
/*
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Strict-Transport-Security: max-age=31536000; includeSubDomains
Cross-Origin-Opener-Policy: same-origin

0 comments on commit a2b4d1e

Please sign in to comment.