fix: Make the link clickable when securecontext is missing

This commit is contained in:
SinTan1729 2024-05-29 19:14:31 -05:00
parent 6992d27390
commit e55c6f82b4
No known key found for this signature in database
GPG Key ID: EB3E68BFBA25C85F

View File

@ -129,7 +129,7 @@ const copyShortUrl = async (link) => {
showAlert(`Short URL ${link} was copied to clipboard!`, "green");
} catch (e) {
console.log(e);
showAlert(`Could not copy short URL to clipboard, please do it manually: ${site}/${link}`, "red");
showAlert(`Could not copy short URL to clipboard, please do it manually: <a href=${site}/${link}>${site}/${link}</a>`, "red");
}
}