Skip to content

Commit

Permalink
enhance nodeinfo by prpoagate the standart keys for homepage and repo…
Browse files Browse the repository at this point in the history
…sitory (#11830)
  • Loading branch information
6543 authored Sep 14, 2023
1 parent efa66ae commit cf7c655
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/backend/src/server/NodeinfoServerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -78,6 +79,8 @@ export class NodeinfoServerService {
software: {
name: 'misskey',
version: this.config.version,
homepage: nodeinfo_homepage,
repository: meta.repositoryUrl,
},
protocols: ['activitypub'],
services: {
Expand Down

0 comments on commit cf7c655

Please sign in to comment.