mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 07:16:21 +00:00
fix: permitir cargar blobs en previsualización de videos y audios
This commit is contained in:
parent
453798dcc7
commit
3f9714f6d0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue