5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 12:46:22 +00:00

fix: permitir cargar blobs en previsualización de videos y audios

This commit is contained in:
f 2024-03-25 15:30:44 -03:00
parent 453798dcc7
commit 3f9714f6d0
No known key found for this signature in database

View file

@ -7,7 +7,7 @@
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
Rails.application.config.content_security_policy do |policy|
policy.default_src :self
policy.default_src :self, :blob
# XXX: Varios scripts generan estilos en línea
policy.style_src :self, :unsafe_inline, :https
# Repetimos la default para poder saber cuál es la política en falta