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

fix: Typo in script.js

This commit is contained in:
Sayantan Santra 2024-04-02 21:02:11 -05:00
parent 62ae71f4ca
commit 30c0b8b50a
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -13,7 +13,7 @@ const getSiteUrl = async () => {
return window.location.host.replace(/\/$/, ''); return window.location.host.replace(/\/$/, '');
} }
else { else {
return text.replace(/\/$/, '').replace(/^"/, '').replace(/"$/, ''); return url.replace(/\/$/, '').replace(/^"/, '').replace(/"$/, '');
} }
} }