fix: webui can't handle hash property of URL well (#515)
parent
cbc620481d
commit
af95ea1cd7
|
@ -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