fix default misskey known instances
This commit is contained in:
parent
f7f2276cec
commit
21eff570a0
|
@ -33,10 +33,10 @@ import {SLOTS, normalize_known, known_load, known_save} from './known_instances.
|
|||
"instance": "mastodon.social",
|
||||
"hits": 0
|
||||
}],
|
||||
misskey:[
|
||||
misskey:[{
|
||||
"instance": "misskey.io",
|
||||
"hits": 0
|
||||
],
|
||||
}],
|
||||
};
|
||||
}
|
||||
known_save(known)
|
||||
|
|
|
@ -8,10 +8,10 @@ function load_and_migrate_old(){
|
|||
olddata = JSON.parse(olddata)
|
||||
let newdata = {
|
||||
mastodon: olddata,
|
||||
misskey: [
|
||||
misskey: [{
|
||||
"instance": "misskey.io",
|
||||
"hits": 0
|
||||
]
|
||||
}]
|
||||
};
|
||||
known_save(newdata);
|
||||
localStorage.removeItem(OLD_KEY);
|
||||
|
|
Loading…
Reference in New Issue