Resolve #3098
This commit is contained in:
@@ -37,8 +37,8 @@ router.get('/v1/instance', async ctx => { // TODO: This is a temporary implement
|
||||
|
||||
ctx.body = {
|
||||
uri: config.hostname,
|
||||
title: config.name || 'Misskey',
|
||||
description: config.description || '',
|
||||
title: meta.name || 'Misskey',
|
||||
description: meta.description || '',
|
||||
email: config.maintainer.email || config.maintainer.url.startsWith('mailto:') ? config.maintainer.url.slice(7) : '',
|
||||
version: `0.0.0:compatible:misskey:${pkg.version}`, // TODO: How to tell about that this is an api for compatibility?
|
||||
thumbnail: meta.bannerUrl,
|
||||
|
Reference in New Issue
Block a user