Include data: when using allow_thirdparty_images CSP
This commit is contained in:
parent
572d1adaae
commit
88d80018b5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
def self.allow_thirdparty_images(**options)
|
||||
content_security_policy(options) do |policy|
|
||||
policy.img_src("*")
|
||||
policy.img_src("*", :data)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue