fix: video preview csp error (#992)

This commit is contained in:
Aman Harwara
2022-04-22 19:22:48 +05:30
committed by GitHub
parent eacfa80dba
commit 9b47f2e235

View File

@@ -50,7 +50,7 @@ module Web
frame_ancestors: ["*", "*.standardnotes.com", "*.standardnotes.org"],
img_src: ["'self'", '* data:', 'blob:'],
manifest_src: %w('self'),
media_src: %w('self'),
media_src: %w('self' blob: *.standardnotes.com),
object_src: %w('self'),
plugin_types: %w(),
script_src: %w('self' 'unsafe-inline' 'unsafe-eval'),