From 508bf29ac5899bafc66ef13250f51ce8c5d0e2d0 Mon Sep 17 00:00:00 2001 From: austinkelsay Date: Sun, 20 Oct 2024 14:42:28 -0500 Subject: [PATCH] reset relays --- src/config/appConfig.js | 18 +++++++++--------- src/context/NDKContext.js | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/config/appConfig.js b/src/config/appConfig.js index 0c3028b..b544ca3 100644 --- a/src/config/appConfig.js +++ b/src/config/appConfig.js @@ -1,14 +1,14 @@ const appConfig = { defaultRelayUrls: [ - "wss://nos.lol/", - "wss://relay.damus.io/", - "wss://relay.snort.social/", - "wss://relay.nostr.band/", - "wss://relay.mutinywallet.com/", - "wss://relay.primal.net/", - "wss://nostr21.com/", - "wss://nostrue.com/", - "wss://purplerelay.com/", + // "wss://nos.lol/", + // "wss://relay.damus.io/", + // "wss://relay.snort.social/", + // "wss://relay.nostr.band/", + // "wss://relay.mutinywallet.com/", + // "wss://relay.primal.net/", + // "wss://nostr21.com/", + // "wss://nostrue.com/", + // "wss://purplerelay.com/", "wss://relay.devs.tools/" ], authorPubkeys: ["8cb60e215678879cda0bef4d5b3fc1a5c5925d2adb5d8c4fa7b7d03b5f2deaea", "676c02247668d5b18479be3d1a80933044256f3fbd03640a8c234684e641b6d6", "f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741", "c67cd3e1a83daa56cff16f635db2fdb9ed9619300298d4701a58e68e84098345"], diff --git a/src/context/NDKContext.js b/src/context/NDKContext.js index df41d5c..6dbe847 100644 --- a/src/context/NDKContext.js +++ b/src/context/NDKContext.js @@ -11,8 +11,8 @@ const readOnlyRelays = ["wss://nostr21.com/", "wss://nostr.wine/", "wss://yestr. export const NDKProvider = ({ children }) => { const [ndk, setNdk] = useState(null); // todo: remove this after testing phase - const [userRelays, setUserRelays] = useLocalStorage("userRelays", appConfig.defaultRelayUrls); - // const [userRelays, setUserRelays] = useState([...readOnlyRelays, "wss://relay.devs.tools"]); + // const [userRelays, setUserRelays] = useLocalStorage("userRelays", appConfig.defaultRelayUrls); + const [userRelays, setUserRelays] = useState([...readOnlyRelays, "wss://relay.devs.tools"]); const createNDKInstance = (relays) => { const allRelays = [...new Set([...appConfig.defaultRelayUrls, ...relays])];