mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 19:01:26 +00:00
Remove inline javascript. Fixes #83
This commit is contained in:
parent
7d3c9b2568
commit
fc2044580d
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' 'unsafe-inline'; style-src 'self' 'unsafe-inline'"
|
||||
content="default-src 'none'; connect-src 'self'; frame-src *; img-src *; script-src 'self'; style-src 'self'"
|
||||
/>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue