From a7a2ed112913c943f9f528f9b2908dd9838280a2 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Mon, 28 Jul 2025 15:54:00 -0400 Subject: [PATCH] use rkey for dashboard url --- app/lish/createPub/getPublicationURL.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lish/createPub/getPublicationURL.ts b/app/lish/createPub/getPublicationURL.ts index e3fdca2d..7730a955 100644 --- a/app/lish/createPub/getPublicationURL.ts +++ b/app/lish/createPub/getPublicationURL.ts @@ -21,5 +21,5 @@ export function getBasePublicationURL(pub: { }) { let record = pub.record as PubLeafletPublication.Record; let aturi = new AtUri(pub.uri); - return `/lish/${aturi.host}/${encodeURIComponent(record?.name || pub.name)}`; + return `/lish/${aturi.host}/${encodeURIComponent(aturi.rkey || record?.name || pub.name)}`; } -- 2.51.2