1
0
forked from mirror/misskey

enhance nodeinfo by prpoagate the standart keys for homepage and repository (#11830)

This commit is contained in:
6543 2023-09-14 02:56:33 +02:00 committed by GitHub
parent efa66ae89a
commit cf7c6558ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ import type { FastifyInstance, FastifyPluginOptions } from 'fastify';
const nodeinfo2_1path = '/nodeinfo/2.1';
const nodeinfo2_0path = '/nodeinfo/2.0';
const nodeinfo_homepage = 'https://misskey-hub.net';
@Injectable()
export class NodeinfoServerService {
@ -78,6 +79,8 @@ export class NodeinfoServerService {
software: {
name: 'misskey',
version: this.config.version,
homepage: nodeinfo_homepage,
repository: meta.repositoryUrl,
},
protocols: ['activitypub'],
services: {