Skip to content

Commit

Permalink
Merge pull request #51 from thatch-health/olivier-nonce
Browse files Browse the repository at this point in the history
Add nonce to script tag
  • Loading branch information
jorgemanrubia authored Dec 24, 2023
2 parents 6f7fb83 + bb7ae14 commit 1b361af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/audits1984/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<%= csrf_meta_tags %>

<%= javascript_include_tag "audits1984/application", data: { turbo_track: :reload } %>
<%= javascript_include_tag "audits1984/application", nonce: true, data: { turbo_track: :reload } %>
<%= stylesheet_link_tag "audits1984/application", media: :all, data: { turbo_track: :reload } %>
</head>

Expand Down

0 comments on commit 1b361af

Please sign in to comment.