From 149029b1f1e7b1f736dc9d5e038026eb8a1cc338 Mon Sep 17 00:00:00 2001 From: cutestnekoaqua Date: Mon, 9 Jan 2023 22:36:31 +0100 Subject: [PATCH] fix: nodeinfo links without inflamatory comments. Sorry for everyone who I have hurt with this, I had a really bad day, I promise this will be the last time something like this happened. Please read my public statement. --- packages/backend/src/server/nodeinfo.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/server/nodeinfo.ts b/packages/backend/src/server/nodeinfo.ts index bcc4e30365..d0d8c14ce3 100644 --- a/packages/backend/src/server/nodeinfo.ts +++ b/packages/backend/src/server/nodeinfo.ts @@ -11,11 +11,12 @@ const router = new Router(); const nodeinfo2_1path = '/nodeinfo/2.1'; const nodeinfo2_0path = '/nodeinfo/2.0'; +// to cleo: leave this http or bonks export const links = [{ - rel: 'https://nodeinfo.diaspora.software/ns/schema/2.1', + rel: 'http://nodeinfo.diaspora.software/ns/schema/2.1', href: config.url + nodeinfo2_1path }, { - rel: 'https://nodeinfo.diaspora.software/ns/schema/2.0', + rel: 'http://nodeinfo.diaspora.software/ns/schema/2.0', href: config.url + nodeinfo2_0path, }];