fix: Remove surrounding quotes for siteurl
This commit is contained in:
parent
d278021e1b
commit
d6dcd2f18d
@ -13,7 +13,7 @@ const getSiteUrl = async () => await fetch(prepSubdir("/api/siteurl"))
|
||||
return window.location.host.replace(/\/$/,'');
|
||||
}
|
||||
else {
|
||||
return text.replace(/\/$/,'');
|
||||
return text.replace(/\/$/,'').replace(/^"/,'').replace(/"$/,'');
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user