update unrouteable websocket addr

This commit is contained in:
Spencer Pogorzelski 2023-08-14 14:34:07 -07:00
parent 358075f84b
commit 1ccf1bb285

View file

@ -66,7 +66,8 @@ export class AdriftBareClient extends Client {
onReadyState: ReadyStateCallback, onReadyState: ReadyStateCallback,
webSocketImpl: WebSocketImpl webSocketImpl: WebSocketImpl
): WebSocket { ): 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 // this will error. that's okay
let initalCloseHappened = false; let initalCloseHappened = false;
ws.addEventListener("close", (e) => { ws.addEventListener("close", (e) => {