From 60d75ae0deaaffb9b57643b68c3ed03ca47b74ae Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Fri, 15 Apr 2022 18:55:48 -0700 Subject: [PATCH] simplify --- core/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:"], },