mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 19:01: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';
|
||||
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