Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
more security improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermayone committed Aug 7, 2024
1 parent 3809566 commit d6fb552
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ const year = new Date().getFullYear();
http-equiv="Content-Security-Policy"
content="default-src 'self'; img-src https://*; child-src 'none';"
/>
<meta
http-equiv="Strict-Transport-Security"
content="max-age=63072000; includeSubDomains; preload"
/>
<meta http-equiv="X-Frame-Options" content="DENY" />
<meta http-equiv="X-Content-Type-Options" content="nosniff" />
<meta name="referrer" content="strict-origin" />
<meta charset="utf-8" />
<meta property="twitter:card" content="summary_large_image" />
<script
Expand Down

0 comments on commit d6fb552

Please sign in to comment.