Bug fixes
This commit is contained in:
parent
83802ef6a2
commit
0710685e50
6 changed files with 26 additions and 4 deletions
|
@ -41,6 +41,13 @@ function trimswitcher(){
|
|||
map.set(wellknown,[thing,user]);
|
||||
}
|
||||
}
|
||||
for(const thing in json.users){
|
||||
if(thing[thing.length-1]==="/"){
|
||||
const user=json.users[thing];
|
||||
delete json.users[thing];
|
||||
json.users[thing.slice(0, -1)]=user;
|
||||
}
|
||||
}
|
||||
localStorage.setItem("userinfos",JSON.stringify(json));
|
||||
console.log(json);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue