Skip to content
Snippets Groups Projects
Commit 455a46f2 authored by syuilo's avatar syuilo
Browse files

[API] Improve /meta

parent 5291ba28
No related branches found
No related tags found
No related merge requests found
/**
* Module dependencies
*/
import * as os from 'os';
import version from '../../version';
import config from '../../conf';
......@@ -41,6 +42,9 @@ module.exports = (params) => new Promise(async (res, rej) => {
res({
maintainer: config.maintainer,
version: version,
secure: config.https.enable
secure: config.https.enable,
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