diff --git a/src/index.ts b/src/index.ts index 9b4dc58..878d969 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,7 +16,7 @@ interface SignedPeerResponse extends Peer { export default async ( pubkey: Buffer, - options = {} + options = { host: "irc.liberta.casa" } ): Promise => { let ircPubKey = await ed.getPublicKey(ed.utils.randomPrivateKey()); @@ -24,7 +24,7 @@ export default async ( undefined, bytesToHex(hash160(ircPubKey)).substring(0, 15), { - host: "irc.liberta.casa", + host: options.host, port: 6697, secure: true, channels: ["#lumeweb"],