mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-27 12:07:43 +02:00
add extra webrtc relay
This commit is contained in:
@@ -14,7 +14,7 @@ export const CopyIconButton = ({ value, icon, ...props }: CopyIconButtonProps) =
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<IconButton
|
<IconButton
|
||||||
icon={copied ? <CheckIcon /> : icon || <CopyToClipboardIcon />}
|
icon={copied ? <CheckIcon boxSize="1.5em" /> : icon || <CopyToClipboardIcon boxSize="1.2em" />}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const v: string | undefined = typeof value === "function" ? value() : value;
|
const v: string | undefined = typeof value === "function" ? value() : value;
|
||||||
|
|
||||||
|
@@ -99,7 +99,7 @@ class WebRtcRelaysService {
|
|||||||
const signer = new SimpleSigner(localSettings.webRtcLocalIdentity.value);
|
const signer = new SimpleSigner(localSettings.webRtcLocalIdentity.value);
|
||||||
|
|
||||||
const webRtcRelaysService = new WebRtcRelaysService(
|
const webRtcRelaysService = new WebRtcRelaysService(
|
||||||
new NostrWebRtcBroker(signer, new SimplePool(), ["wss://nos.lol"]),
|
new NostrWebRtcBroker(signer, new SimplePool(), ["wss://nos.lol", "wss://nostrue.com"]),
|
||||||
localRelay as AbstractRelay | null,
|
localRelay as AbstractRelay | null,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user