mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 17:36:28 -07:00
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:
parent
430f016833
commit
cd71d0567f
1 changed files with 3 additions and 2 deletions
|
@ -11,11 +11,12 @@ const router = new Router();
|
||||||
const nodeinfo2_1path = '/nodeinfo/2.1';
|
const nodeinfo2_1path = '/nodeinfo/2.1';
|
||||||
const nodeinfo2_0path = '/nodeinfo/2.0';
|
const nodeinfo2_0path = '/nodeinfo/2.0';
|
||||||
|
|
||||||
|
// to cleo: leave this http or bonks
|
||||||
export const links = [{
|
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
|
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,
|
href: config.url + nodeinfo2_0path,
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue