mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 06:36:17 +00:00
Co-authored-by: SleeplessOne1917 <insomnia_void@protonmail.com>
This commit is contained in:
parent
aafcfaf649
commit
69a3a63dfd
|
@ -16,12 +16,11 @@ export function setDefaultCsp({
|
|||
`default-src 'self';
|
||||
manifest-src *;
|
||||
connect-src *;
|
||||
img-src * data:;
|
||||
img-src * data: blob:;
|
||||
script-src 'self' 'nonce-${res.locals.cspNonce}';
|
||||
style-src 'self' 'unsafe-inline';
|
||||
form-action 'self';
|
||||
base-uri 'self';
|
||||
blob: 'self';
|
||||
frame-src *;
|
||||
media-src * data:`.replace(/\s+/g, " "),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue