mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 07:41:13 +00:00
Fixing CSP
This commit is contained in:
parent
2a2aa5e897
commit
c772da06fe
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ server.get('/*', async (req, res) => {
|
|||
const cspHtml = (
|
||||
<meta
|
||||
http-equiv="Content-Security-Policy"
|
||||
content="default-src 'none'; connect-src 'self'; frame-src *; img-src *; script-src 'self'; style-src 'self'"
|
||||
content="default-src data:; connect-src 'self'; frame-src *; img-src * data:; script-src 'self'; style-src 'self' 'unsafe-inline'"
|
||||
/>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue