fix: Typo in script.js

This commit is contained in:
SinTan1729 2024-04-02 21:02:11 -05:00
parent 62ae71f4ca
commit 30c0b8b50a
No known key found for this signature in database
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(/"$/, '');
} }
} }