Skip to content

Commit

Permalink
Allow style attribute (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
K8Sewell authored Dec 6, 2024
1 parent eee744f commit 6ff2d80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
policy.script_src_attr :self, :unsafe_inline, 'www.googletagmanager.com'
policy.script_src_elem :self, :unsafe_inline, 'siteimproveanalytics.com www.googletagmanager.com'
policy.style_src :self, :unsafe_inline
policy.style_src_attr :self, :unsafe_inline
policy.style_src_elem :self, :unsafe_inline, "#{ENV['IIIF_IMAGE_BASE_URL']}/"
policy.connect_src :self, "banner.library.yale.edu www.google-analytics.com #{ENV['IIIF_IMAGE_BASE_URL']}/"

Expand Down

0 comments on commit 6ff2d80

Please sign in to comment.