From aa36e0057629cbf70e7098053cc2fcad2acc224a Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 23 May 2026 16:07:09 +0200 Subject: [PATCH] fix: use plc.directory instead of plc.wtf for DID resolution The plc.wtf mirror is returning HTTP 502, breaking the static build when getStaticPaths fetches the PDS endpoint. plc.directory is the canonical PLC directory and returns the same JSON shape. --- src/api/fetch-notes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/fetch-notes.ts b/src/api/fetch-notes.ts index bfcb2fc..a8266f6 100644 --- a/src/api/fetch-notes.ts +++ b/src/api/fetch-notes.ts @@ -8,7 +8,7 @@ export const getServiceEndpoint = async () => { if (serviceEndpoint) { return serviceEndpoint } - const response = await fetch(`https://plc.wtf/${did}`) + const response = await fetch(`https://plc.directory/${did}`) const { service: [{ serviceEndpoint: endpoint }], } = await response.json()