a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

wrap base path in protocol for pub links

+1 -1
+1 -1
app/lish/createPub/getPublicationURL.ts
··· 10 10 }) { 11 11 let record = pub.record as PubLeafletPublication.Record; 12 12 if (isProductionDomain() && record?.base_path) { 13 - return record.base_path; 13 + return `https://${record.base_path}`; 14 14 } 15 15 let aturi = new AtUri(pub.uri); 16 16 return `/lish/${aturi.host}/${record?.name || pub.name}`;