1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 14:58:24 +09:00

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',
description: meta.description || '',
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,
/*
urls: {