mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 20:31:13 +00:00
Fixing QR code CSP. (#2218)
This commit is contained in:
parent
890a1921ca
commit
fe28c691e3
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