We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04ed26c commit ff7b79fCopy full SHA for ff7b79f
app/views/clockwork_web/home/index.html.erb
@@ -5,7 +5,7 @@
5
6
<meta charset="utf-8" />
7
8
- <%= content_tag :style, nonce: content_security_policy_nonce do %>
+ <%= content_tag :style, nonce: request.content_security_policy_nonce_directives&.include?("style-src") ? content_security_policy_nonce : nil do %>
9
body {
10
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
11
margin: 0;
0 commit comments