tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
use rkey for dashboard url
awarm.space
7 months ago
a7a2ed11
d92ecb86
+1
-1
1 changed file
expand all
collapse all
unified
split
app
lish
createPub
getPublicationURL.ts
+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
24
-
return `/lish/${aturi.host}/${encodeURIComponent(record?.name || pub.name)}`;
24
24
+
return `/lish/${aturi.host}/${encodeURIComponent(aturi.rkey || record?.name || pub.name)}`;
25
25
}