Skip to content

Commit

Permalink
Add csp
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermayone committed Aug 7, 2024
1 parent d10c308 commit 3acc6b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; img-src https://*; child-src 'none';">
<%= yield(:head) if content_for?(:head) %>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
Expand Down

0 comments on commit 3acc6b1

Please sign in to comment.