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

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: {