1
0
Fork 0
forked from mirrors/akkoma

Let blob: pass CSP

This commit is contained in:
Alex Gleason 2020-04-26 00:28:57 -05:00 committed by rinpatch
parent 78391a00c5
commit 6e0b046771
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ content-security-policy:
default-src 'none';
base-uri 'self';
frame-ancestors 'none';
img-src 'self' data: https:;
img-src 'self' data: blob: https:;
media-src 'self' https:;
style-src 'self' 'unsafe-inline';
font-src 'self';

View file

@ -75,7 +75,7 @@ defp csp_string do
"default-src 'none'",
"base-uri 'self'",
"frame-ancestors 'none'",
"img-src 'self' data: https:",
"img-src 'self' data: blob: https:",
"media-src 'self' https:",
"style-src 'self' 'unsafe-inline'",
"font-src 'self'",