mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
Fixing QR code CSP.
This commit is contained in:
parent
890a1921ca
commit
bd10af5b70
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ export function setDefaultCsp({
|
||||||
style-src 'self' 'unsafe-inline';
|
style-src 'self' 'unsafe-inline';
|
||||||
form-action 'self';
|
form-action 'self';
|
||||||
base-uri 'self';
|
base-uri 'self';
|
||||||
|
blob: 'self';
|
||||||
frame-src *;
|
frame-src *;
|
||||||
media-src * data:`.replace(/\s+/g, " "),
|
media-src * data:`.replace(/\s+/g, " "),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue