fix: unsupported url needs to be a real but dummy one

This commit is contained in:
Derrick Hammer 2023-08-31 02:34:13 -04:00
parent 2ef91a4d9c
commit 17ff5fd96b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ export class P2PService {
} }
async connectToNode(connectionUris: URL[]): Promise<void> { async connectToNode(connectionUris: URL[]): Promise<void> {
const unsupported = new URL(""); const unsupported = new URL("http://0.0.0.0");
unsupported.protocol = "unsupported"; unsupported.protocol = "unsupported";
const connectionUri = const connectionUri =