Added ability to run add recommended relays from popup.

This commit is contained in:
Ryan Breen
2023-01-28 20:46:49 -05:00
parent 6a31c3b135
commit b6a4a5b5dc
5 changed files with 51 additions and 58 deletions

View File

@@ -10,15 +10,9 @@ import {
savePrivateKey,
saveProfileName,
saveRelays,
RECOMMENDED_RELAYS,
} from './utils';
const RECOMMENDED_RELAYS = [
new URL('wss://relay.damus.io'),
new URL('wss://eden.nostr.land'),
new URL('wss://nostr-relay.derekross.me'),
new URL('wss://relay.snort.social'),
];
const log = console.log;
Alpine.data('options', () => ({