mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Allow blob image source [SCI-8617]
This commit is contained in:
parent
50765fcb29
commit
18214f749b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ Rails.application.config.content_security_policy do |policy|
|
||||||
policy.default_src :self, :https
|
policy.default_src :self, :https
|
||||||
policy.base_uri :self
|
policy.base_uri :self
|
||||||
policy.font_src :self, :https, :data
|
policy.font_src :self, :https, :data
|
||||||
policy.img_src :self, :https, :data
|
policy.img_src :self, :https, :data, :blob
|
||||||
policy.object_src :none
|
policy.object_src :none
|
||||||
policy.script_src :self, :https, :unsafe_eval
|
policy.script_src :self, :https, :unsafe_eval
|
||||||
policy.style_src :self, :https, :unsafe_inline, :data
|
policy.style_src :self, :https, :unsafe_inline, :data
|
||||||
|
|
Loading…
Reference in a new issue