mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 03:15:12 +00:00
enhance nodeinfo by prpoagate the standart keys for homepage and repository (#11830)
This commit is contained in:
parent
efa66ae89a
commit
cf7c6558ae
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue