mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 06:10:01 -04:00
Revert "update unrouteable websocket addr"
This reverts commit 1ccf1bb285
.
This commit is contained in:
parent
1ccf1bb285
commit
cd3aef62ec
1 changed files with 1 additions and 2 deletions
|
@ -66,8 +66,7 @@ export class AdriftBareClient extends Client {
|
||||||
onReadyState: ReadyStateCallback,
|
onReadyState: ReadyStateCallback,
|
||||||
webSocketImpl: WebSocketImpl
|
webSocketImpl: WebSocketImpl
|
||||||
): WebSocket {
|
): WebSocket {
|
||||||
// IP of TEST-NET-1 (https://superuser.com/a/698392/917616)
|
const ws = new webSocketImpl("ws:null", protocols);
|
||||||
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) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue