mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
missing hash
This commit is contained in:
@@ -27,12 +27,12 @@ export async function copyShareLinkToClipboard(boardIdentifier: string, linkType
|
|||||||
if (!cid) {
|
if (!cid) {
|
||||||
throw new Error('copyShareLinkToClipboard: thread links require a cid');
|
throw new Error('copyShareLinkToClipboard: thread links require a cid');
|
||||||
}
|
}
|
||||||
const shareLink = `https://5chan.app/${boardIdentifier}/thread/${cid}`;
|
const shareLink = `https://5chan.app/#/${boardIdentifier}/thread/${cid}`;
|
||||||
await copyToClipboard(shareLink);
|
await copyToClipboard(shareLink);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const shareLink = `https://5chan.app/${boardIdentifier}/${linkType}`;
|
const shareLink = `https://5chan.app/#/${boardIdentifier}/${linkType}`;
|
||||||
await copyToClipboard(shareLink);
|
await copyToClipboard(shareLink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user