diff --git a/core/src/main.ts b/core/src/main.ts index f5ebc7be3..9d933f2ba 100644 --- a/core/src/main.ts +++ b/core/src/main.ts @@ -18,7 +18,7 @@ async function main() { directives: { "connect-src": [ "'self'", - HOST.replace("https", "wss").replace("http", "ws") + "/ws", + HOST.replace("http", "ws") + "/ws", ], "img-src": ["'self'", "https: data:"], },