From 2b08f2cd1470325b46e11b3ca3cbe9e45a1c3c8b Mon Sep 17 00:00:00 2001 From: Juliet Date: Fri, 6 Mar 2026 08:10:43 +0100 Subject: [PATCH] edit og descriptions --- public/_worker.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/public/_worker.js b/public/_worker.js index 85a573b..6364bd0 100644 --- a/public/_worker.js +++ b/public/_worker.js @@ -103,12 +103,11 @@ async function resolveOgData(pathname) { const doc = await resolveDidDoc(did).catch(() => null); const handle = doc ? handleFromDoc(doc) : null; title = `at://${handle ?? did}/${collection}`; - description = `List of ${collection} records for ${handle ?? did}`; + description = `List of ${collection} records from ${handle ?? did}`; } else { - description = `View the ${rkey} record in ${collection} from ${did}`; - const doc = await resolveDidDoc(did).catch(() => null); const handle = doc ? handleFromDoc(doc) : null; + description = `View the ${rkey} record in ${collection} from ${handle ?? did}`; title = `at://${handle ?? did}/${collection}/${rkey}`; } } else { -- 2.51.2