Skip to content
Snippets Groups Projects
Commit 5b1d2ec4 authored by syuilo's avatar syuilo
Browse files

[API] Improve /meta

parent dc6b736b
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment