fix: we dont need to strip out auth

This commit is contained in:
Derrick Hammer 2023-08-31 02:35:29 -04:00
parent a4b692b28f
commit a021243c89
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 4 deletions

View File

@ -507,10 +507,7 @@ export class P2PService {
await this.onNewPeer(peer, true);
} else {
const locationUri = new URL(connectionUri.toString());
locationUri.username = "";
const channel = await wsConnect(locationUri.toString());
const channel = await wsConnect(connectionUri.toString());
const peer = new WebSocketPeer(channel, [connectionUri]);
peer.id = id;
await this.onNewPeer(peer, true);