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
1 changed files with 1 additions and 1 deletions

View File

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