diff options
| author | 6543 <6543@obermui.de> | 2023-09-14 02:56:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-14 09:56:33 +0900 |
| commit | cf7c6558aec45f89fbc616347481f5f6e51971fa (patch) | |
| tree | 95baf2bce56452072170df9d40453fc1daf64670 /packages | |
| parent | build(deps): bump docker/metadata-action from 4 to 5 (#11828) (diff) | |
| download | sharkey-cf7c6558aec45f89fbc616347481f5f6e51971fa.tar.gz sharkey-cf7c6558aec45f89fbc616347481f5f6e51971fa.tar.bz2 sharkey-cf7c6558aec45f89fbc616347481f5f6e51971fa.zip | |
enhance nodeinfo by prpoagate the standart keys for homepage and repository (#11830)
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/backend/src/server/NodeinfoServerService.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/backend/src/server/NodeinfoServerService.ts b/packages/backend/src/server/NodeinfoServerService.ts index 1a1a3bf5a8..79f130dabe 100644 --- a/packages/backend/src/server/NodeinfoServerService.ts +++ b/packages/backend/src/server/NodeinfoServerService.ts @@ -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: { |