Pulumi code for my server setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove t4tlabs relay as it's listed on pulsar now

+1 -3
+1 -3
lib/relay-hosts.ts
··· 1 1 import { JSDOM } from "jsdom"; 2 2 import pMemoize from "p-memoize"; 3 3 4 - const CUSTOM_RELAYS = ["https://relay.t4tlabs.net"]; 5 - 6 4 export const fetchRelays = pMemoize(async () => { 7 5 const PULSAR = "https://pulsar.feeds.blue"; 8 6 const res = await fetch(PULSAR); ··· 19 17 .toArray() 20 18 .toSorted(); 21 19 22 - return relays.concat(CUSTOM_RELAYS); 20 + return relays; 23 21 });