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.
This commit is contained in:
cutestnekoaqua 2023-01-09 22:36:31 +01:00
parent 55eabae923
commit 149029b1f1
No known key found for this signature in database
GPG Key ID: 6BF0964A5069C1E0
1 changed files with 3 additions and 2 deletions

View File

@ -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,
}];