From 21eff570a0cf62ca80fc1f57e2af488f08b30e8e Mon Sep 17 00:00:00 2001 From: codl Date: Sat, 26 Feb 2022 23:14:40 +0100 Subject: [PATCH] fix default misskey known instances --- assets/instance_buttons.js | 4 ++-- assets/known_instances.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/instance_buttons.js b/assets/instance_buttons.js index be2565b..d5bbf53 100644 --- a/assets/instance_buttons.js +++ b/assets/instance_buttons.js @@ -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) diff --git a/assets/known_instances.js b/assets/known_instances.js index 004aa06..cd6fff6 100644 --- a/assets/known_instances.js +++ b/assets/known_instances.js @@ -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);