From d6cd60fe6e817f4adfa44058c3bd493fc486dcb8 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Fri, 7 Mar 2025 15:53:38 +0100 Subject: [PATCH] Fix nodeinfo query on split-domain instances --- src/utils/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/api.js b/src/utils/api.js index e9c08afc..ea4c7fd1 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -119,7 +119,7 @@ export async function initInstance(client, instance) { typeof link.rel === 'string' && link.rel.startsWith('http://nodeinfo.diaspora.software/ns/schema/'), )?.href; - if (nodeInfoUrl && nodeInfoUrl.startsWith(urlBase)) { + if (nodeInfoUrl) { nodeInfo = await (await fetch(nodeInfoUrl)).json(); } }