fix instance code

This commit is contained in:
MathMan05
2025-03-16 17:12:17 -05:00
parent 3d694088bd
commit e3bcb9dd67
2 changed files with 33 additions and 33 deletions

View File

@@ -118,7 +118,7 @@ async function updateInstances(): Promise<void> {
const existingInstance = instanceNames.get(instance.name);
if (existingInstance) {
for (const key of Object.keys(instance)) {
if (!existingInstance[key]) {
if (!(key in existingInstance)) {
existingInstance[key] = instance[key];
}
}

View File

@@ -3,7 +3,7 @@
"name": "Spacebar",
"description": "The official Spacebar instance.",
"image": "https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/branding/png/Spacebar__Icon-Discord.png",
"urls":{
"urls": {
"wellknown": "https://spacebar.chat/",
"api": "https://old.server.spacebar.chat/api",
"cdn": "https://cdn.old.server.spacebar.chat",