refactor: cheat temp and hard code the relay server

This commit is contained in:
Derrick Hammer 2023-10-13 02:59:49 -04:00
parent e44b63b63e
commit 26576d809e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 6 additions and 1 deletions

View File

@ -17,6 +17,11 @@ export default async (
pubkey: Buffer, pubkey: Buffer,
options = { host: "irc.liberta.casa" }, options = { host: "irc.liberta.casa" },
): Promise<boolean | Peer> => { ): Promise<boolean | Peer> => {
return {
host: "relay1.lumeweb.com",
port: 8080,
};
/*
let ircPubKey = ed25519.getPublicKey(ed25519.utils.randomPrivateKey()); let ircPubKey = ed25519.getPublicKey(ed25519.utils.randomPrivateKey());
let client = new IrcClient( let client = new IrcClient(
@ -73,5 +78,5 @@ export default async (
client.end(); client.end();
reject("irc discovery response timed out"); reject("irc discovery response timed out");
}, 3000); }, 3000);
}); });*/
}; };