mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
Co-authored-by: SleeplessOne1917 <insomnia_void@protonmail.com>
This commit is contained in:
parent
aafcfaf649
commit
69a3a63dfd
1 changed files with 1 additions and 2 deletions
|
@ -16,12 +16,11 @@ export function setDefaultCsp({
|
||||||
`default-src 'self';
|
`default-src 'self';
|
||||||
manifest-src *;
|
manifest-src *;
|
||||||
connect-src *;
|
connect-src *;
|
||||||
img-src * data:;
|
img-src * data: blob:;
|
||||||
script-src 'self' 'nonce-${res.locals.cspNonce}';
|
script-src 'self' 'nonce-${res.locals.cspNonce}';
|
||||||
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