mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -06:00
fix: Remove surrounding quotes for siteurl
This commit is contained in:
parent
d278021e1b
commit
d6dcd2f18d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ const getSiteUrl = async () => await fetch(prepSubdir("/api/siteurl"))
|
||||||
return window.location.host.replace(/\/$/,'');
|
return window.location.host.replace(/\/$/,'');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return text.replace(/\/$/,'');
|
return text.replace(/\/$/,'').replace(/^"/,'').replace(/"$/,'');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue