aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorgeireann <geireann.lindfield@gmail.com>2024-04-05 21:00:20 -0400
committergeireann <geireann.lindfield@gmail.com>2024-04-05 21:00:20 -0400
commite514d90fe28a007346232b03e3abce7e010b4f4a (patch)
tree02772856f25e0bc6362e8577e1457b02a8e9a889 /src/client/DocServer.ts
parentf2d69cd694c0c037679bc585bd81eece275f59fb (diff)
fixed npm start-release on ssl server
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index 80fccf7bc..321572071 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -190,6 +190,7 @@ export namespace DocServer {
USER_ID = identifier;
protocol = protocol.startsWith('https') ? 'wss' : 'ws';
_socket = io(`${protocol}://${hostname}:${port}`, { transports: ['websocket'], rejectUnauthorized: false });
+ _socket.on("connect_error", (err:any) => console.log(err));
// io.connect(`https://7f079dda.ngrok.io`);// if using ngrok, create a special address for the websocket
_GetCachedRefField = _GetCachedRefFieldImpl;