1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 07:38:36 -06:00

chg: Show the whole link when clipboard is not accessible

This commit is contained in:
Sayantan Santra 2024-05-29 16:03:03 -05:00
parent 41b7e37819
commit 39e4d2df74
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

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