Skip to content

Commit

Permalink
Add CSP tag
Browse files Browse the repository at this point in the history
  • Loading branch information
minagishl committed Oct 18, 2024
1 parent f0501e0 commit de3ad7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>

<!-- Content Security Policy -->
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; img-src https://*; child-src 'none';" />

<!-- Meta description -->
<meta name="description" content="{{ description }}">

Expand Down

0 comments on commit de3ad7b

Please sign in to comment.