5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:21:41 +00:00

cargar los iconos de trix

This commit is contained in:
f 2020-02-07 20:38:56 -03:00
parent c6151c2d3e
commit e6dce0e055
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -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?