mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
reset relays
This commit is contained in:
parent
aae5fe1335
commit
508bf29ac5
@ -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"],
|
||||
|
@ -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])];
|
||||
|
Loading…
x
Reference in New Issue
Block a user