fix: webui can't handle hash property of URL well
parent
cbc620481d
commit
af64e0d2c6
|
@ -833,7 +833,7 @@ function newUrl(name) {
|
|||
}
|
||||
|
||||
function baseUrl() {
|
||||
return location.href.split('?')[0];
|
||||
return location.href.split(/[?#]/)[0];
|
||||
}
|
||||
|
||||
function baseName(url) {
|
||||
|
|
Loading…
Reference in New Issue