fix
This commit is contained in:
parent
ed8e7d9569
commit
3bbd8fec7a
File diff suppressed because one or more lines are too long
|
|
@ -84,6 +84,10 @@ const injectSiteScript = () => {
|
|||
if (base_url === "*") {
|
||||
base_url = `${location.protocol}//${location.host}`;
|
||||
base.site.api_url = base_url;
|
||||
} else {
|
||||
const url = new URL(base_url);
|
||||
url.search = "";
|
||||
base_url = url.toString();
|
||||
}
|
||||
base_url = trim(base_url, "/");
|
||||
|
||||
|
|
|
|||
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue