Better version format

This commit is contained in:
Acid Chicken (硫酸鶏) 2019-01-20 13:40:41 +09:00 committed by GitHub
parent 6ea0028e0e
commit 11689e6d18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ router.get('/v1/instance', async ctx => { // TODO: This is a temporary implement
title: meta.name || 'Misskey', title: meta.name || 'Misskey',
description: meta.description || '', description: meta.description || '',
email: meta.maintainer.email, email: meta.maintainer.email,
version: `0.0.0:compatible:misskey:${pkg.version}`, // TODO: How to tell about that this is an api for compatibility? version: `0.0.0 (compatible; Misskey)`, // TODO: commit hash
thumbnail: meta.bannerUrl, thumbnail: meta.bannerUrl,
/* /*
urls: { urls: {