fix bug
This commit is contained in:
parent
6e37f84bd5
commit
83802ef6a2
2 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ function trimswitcher() {
|
|||
if (wellknown[wellknown.length - 1] !== "/") {
|
||||
wellknown += "/";
|
||||
}
|
||||
wellknown += user.username;
|
||||
if (map.has(wellknown)) {
|
||||
const otheruser = map.get(wellknown);
|
||||
if (otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length - 1] === "/") {
|
||||
|
|
|
@ -28,6 +28,7 @@ function trimswitcher(){
|
|||
if(wellknown[wellknown.length-1]!=="/"){
|
||||
wellknown+="/";
|
||||
}
|
||||
wellknown+=user.username;
|
||||
if(map.has(wellknown)){
|
||||
const otheruser=map.get(wellknown);
|
||||
if(otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length-1]==="/"){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue