From cd71d0567f79c6c3087a038ba60162aef2bafa54 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 bcc4e3036..d0d8c14ce 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, }];