Fix safari websocket bug.

This commit is contained in:
Dessalines 2020-12-03 07:59:59 -06:00
parent fa4a6bd389
commit 9853369a08

View file

@ -87,7 +87,7 @@ server.get('/*', async (req, res) => {
const cspHtml = (
<meta
http-equiv="Content-Security-Policy"
content="default-src data:; connect-src 'self'; frame-src *; img-src * data:; script-src 'self'; style-src 'self' 'unsafe-inline'"
content="default-src data:; connect-src * ws: wss:; frame-src *; img-src * data:; script-src 'self'; style-src 'self' 'unsafe-inline'"
/>
);