mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Update relays
This commit is contained in:
9 files changed
+10
-10
No files matched your search
@@ -1092,7 +1092,7 @@ const defaultConfig: AppConfig = {
|
||||
relayMetadata: {
|
||||
relays: [
|
||||
{ url: 'wss://relay.ditto.pub', read: true, write: true },
|
||||
{ url: 'wss://relay.nostr.band', read: true, write: true },
|
||||
{ url: 'wss://relay.primal.net', read: true, write: true },
|
||||
],
|
||||
updatedAt: 0,
|
||||
},
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ const defaultConfig: AppConfig = {
|
||||
relayMetadata: {
|
||||
relays: [
|
||||
{ url: 'wss://relay.ditto.pub', read: true, write: true },
|
||||
{ url: 'wss://relay.nostr.band', read: true, write: true },
|
||||
{ url: 'wss://relay.damus.io', read: true, write: true },
|
||||
{ url: 'wss://relay.primal.net', read: true, write: true },
|
||||
],
|
||||
updatedAt: 0,
|
||||
|
||||
@@ -86,7 +86,7 @@ export function AddCustomProviderDialog({
|
||||
gateway: customGateway.trim() || 'nsite.lol',
|
||||
relayUrls: customRelayUrls.trim()
|
||||
? customRelayUrls.split(',').map(s => s.trim()).filter(Boolean)
|
||||
: ['wss://relay.nostr.band'],
|
||||
: ['wss://relay.ditto.pub'],
|
||||
blossomServers: customBlossomServers.trim()
|
||||
? customBlossomServers.split(',').map(s => s.trim()).filter(Boolean)
|
||||
: ['https://blossom.primal.net/'],
|
||||
@@ -264,7 +264,7 @@ export function AddCustomProviderDialog({
|
||||
<Label htmlFor="custom-relays">Relay URLs (comma-separated)</Label>
|
||||
<Input
|
||||
id="custom-relays"
|
||||
placeholder="wss://relay.nostr.band, wss://relay.damus.io"
|
||||
placeholder="wss://relay.ditto.pub, wss://relay.damus.io"
|
||||
value={customRelayUrls}
|
||||
onChange={(e) => setCustomRelayUrls(e.target.value)}
|
||||
/>
|
||||
|
||||
@@ -144,7 +144,7 @@ export function ProviderConfigDialog({
|
||||
</Label>
|
||||
<Input
|
||||
id="provider-relays"
|
||||
placeholder="wss://relay.nostr.band, wss://relay.damus.io"
|
||||
placeholder="wss://relay.ditto.pub, wss://relay.damus.io"
|
||||
value={localProvider.relayUrls?.join(', ') || ''}
|
||||
onChange={(e) => setLocalProvider({
|
||||
...localProvider,
|
||||
|
||||
@@ -200,7 +200,7 @@ export function useZaps(
|
||||
const zapRequest = nip57.makeZapRequest({
|
||||
event: actualTarget,
|
||||
amount: zapAmount,
|
||||
relays: writeRelays.length > 0 ? writeRelays : ['wss://relay.nostr.band'],
|
||||
relays: writeRelays.length > 0 ? writeRelays : ['wss://relay.ditto.pub'],
|
||||
comment
|
||||
});
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ export class NostrFetchEventTool implements Tool<NostrFetchEventParams> {
|
||||
|
||||
const defaultRelays = [
|
||||
'wss://relay.ditto.pub',
|
||||
'wss://relay.nostr.band',
|
||||
'wss://relay.damus.io',
|
||||
'wss://relay.primal.net',
|
||||
];
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ export class NostrPublishEventsTool implements Tool<NostrPublishEventsParams> {
|
||||
// Default relays if none provided
|
||||
const defaultRelays = [
|
||||
'wss://relay.ditto.pub',
|
||||
'wss://relay.nostr.band',
|
||||
'wss://relay.damus.io',
|
||||
'wss://relay.primal.net',
|
||||
];
|
||||
|
||||
|
||||
@@ -208,9 +208,9 @@ export function DeploySettings() {
|
||||
type: 'nsite',
|
||||
gateway: 'nosto.re',
|
||||
relayUrls: [
|
||||
'wss://relay.ditto.pub',
|
||||
'wss://relay.nsite.lol',
|
||||
'wss://relay.nosto.re',
|
||||
'wss://relay.nostr.band',
|
||||
'wss://relay.primal.net',
|
||||
'wss://relay.damus.io',
|
||||
'wss://purplerelay.com',
|
||||
|
||||
@@ -31,7 +31,7 @@ export function TestApp({ children }: TestAppProps) {
|
||||
theme: 'light',
|
||||
relayMetadata: {
|
||||
relays: [
|
||||
{ url: 'wss://relay.nostr.band', read: true, write: true },
|
||||
{ url: 'wss://relay.ditto.pub', read: true, write: true },
|
||||
],
|
||||
updatedAt: 0,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user