From bd5ca225e89de2c2f1e5bb65f2b4cda0838d1889 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Wed, 15 Apr 2026 13:36:03 -0500 Subject: [PATCH] harmony staging --- src/webpage/instances.json | 7 +++++++ src/webpage/settings.ts | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/webpage/instances.json b/src/webpage/instances.json index d33a287..42e4a93 100644 --- a/src/webpage/instances.json +++ b/src/webpage/instances.json @@ -5,5 +5,12 @@ "image": "https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/branding/png/Spacebar__Icon-Discord.png", "url": "https://spacebar.chat", "display":false + }, + { + "name": "Harmony Staging", + "description": "A staging instance for Harmony", + "image": "https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/branding/png/Spacebar__Icon-Discord.png", + "url": "https://stg-api.harmony.melodychat.org/", + "display":true } ] diff --git a/src/webpage/settings.ts b/src/webpage/settings.ts index c9b3cb6..40c62b9 100644 --- a/src/webpage/settings.ts +++ b/src/webpage/settings.ts @@ -1005,7 +1005,7 @@ class InstancePicker implements OptionsElement { for (const instance of json) { const option = document.createElement("option"); - option.disabled = !instance.online; + option.disabled = instance.online === false; option.value = instance.name; if (instance.url) { stringURLMap.set(option.value, instance.url);