a tool for shared writing and social publishing

use rkey for dashboard url

+1 -1
+1 -1
app/lish/createPub/getPublicationURL.ts
··· 21 21 }) { 22 22 let record = pub.record as PubLeafletPublication.Record; 23 23 let aturi = new AtUri(pub.uri); 24 - return `/lish/${aturi.host}/${encodeURIComponent(record?.name || pub.name)}`; 24 + return `/lish/${aturi.host}/${encodeURIComponent(aturi.rkey || record?.name || pub.name)}`; 25 25 }