forked from mirror/misskey
enhance nodeinfo by prpoagate the standart keys for homepage and repository (#11830)
This commit is contained in:
parent
efa66ae89a
commit
cf7c6558ae
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user