From 1ccf1bb285daab5c80095d74da29081b08cd2ce0 Mon Sep 17 00:00:00 2001 From: Spencer Pogorzelski <34356756+Scoder12@users.noreply.github.com> Date: Mon, 14 Aug 2023 14:34:07 -0700 Subject: [PATCH] update unrouteable websocket addr --- client/src/AdriftClient.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/AdriftClient.ts b/client/src/AdriftClient.ts index c969895..d98950b 100644 --- a/client/src/AdriftClient.ts +++ b/client/src/AdriftClient.ts @@ -66,7 +66,8 @@ export class AdriftBareClient extends Client { onReadyState: ReadyStateCallback, webSocketImpl: WebSocketImpl ): WebSocket { - const ws = new webSocketImpl("ws:null", protocols); + // IP of TEST-NET-1 (https://superuser.com/a/698392/917616) + const ws = new webSocketImpl("ws:192.0.2.0", protocols); // this will error. that's okay let initalCloseHappened = false; ws.addEventListener("close", (e) => {