mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-21 22:27:11 +00:00
Fixing CSP
This commit is contained in:
parent
2a2aa5e897
commit
c772da06fe
|
@ -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