mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 06:41:42 +00:00
cargar los iconos de trix
This commit is contained in:
parent
c6151c2d3e
commit
e6dce0e055
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ Rails.application.config.content_security_policy do |policy|
|
||||||
policy.script_src :self
|
policy.script_src :self
|
||||||
policy.font_src :self
|
policy.font_src :self
|
||||||
# TODO: Permitimos cargar imágenes remotas?
|
# TODO: Permitimos cargar imágenes remotas?
|
||||||
policy.img_src :self
|
# XXX: Los íconos de Trix se cargan vía data:
|
||||||
|
policy.img_src :self, :data
|
||||||
# Ya no usamos applets!
|
# Ya no usamos applets!
|
||||||
policy.object_src :none
|
policy.object_src :none
|
||||||
if Rails.env.development?
|
if Rails.env.development?
|
||||||
|
|
Loading…
Reference in a new issue