mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-10 02:15:11 +00:00
Remove inline javascript. Fixes #83
This commit is contained in:
parent
7d3c9b2568
commit
fc2044580d
|
@ -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