From 5b1d2ec442a825ce555be22b1a8abff27cef9f32 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Jun 2017 05:25:57 +0900 Subject: [PATCH] [API] Improve /meta --- src/api/endpoints/meta.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/api/endpoints/meta.ts b/src/api/endpoints/meta.ts index be0daba75..7ab72ae8f 100644 --- a/src/api/endpoints/meta.ts +++ b/src/api/endpoints/meta.ts @@ -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 }