1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-02 16:58:49 +09:00

[API] Improve /meta

This commit is contained in:
syuilo 2017-06-10 05:25:57 +09:00
parent dc6b736be6
commit 5b1d2ec442

View File

@ -43,6 +43,12 @@ module.exports = (params) => new Promise(async (res, rej) => {
maintainer: config.maintainer,
version: version,
secure: config.https.enable,
machine: os.hostname(),
node: {
release: (process as any).release.name,
lts: (process as any).release.lts,
version: process.version
},
cpu: {
cores: os.cpus().length
}