Fixing QR code CSP. (#2218)

This commit is contained in:
Dessalines 2023-11-13 12:45:27 -05:00 committed by GitHub
parent 890a1921ca
commit fe28c691e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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, " "),
); );