mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -06:00
fix: Typo in script.js
This commit is contained in:
parent
62ae71f4ca
commit
30c0b8b50a
1 changed files with 1 additions and 1 deletions
|
@ -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(/"$/, '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue