mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 14:37:36 -07:00
[API] Improve /meta
This commit is contained in:
parent
533d43fc0f
commit
a757d58144
1 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,12 @@ module.exports = (params) => new Promise(async (res, rej) => {
|
||||||
maintainer: config.maintainer,
|
maintainer: config.maintainer,
|
||||||
version: version,
|
version: version,
|
||||||
secure: config.https.enable,
|
secure: config.https.enable,
|
||||||
|
machine: os.hostname(),
|
||||||
|
node: {
|
||||||
|
release: (process as any).release.name,
|
||||||
|
lts: (process as any).release.lts,
|
||||||
|
version: process.version
|
||||||
|
},
|
||||||
cpu: {
|
cpu: {
|
||||||
cores: os.cpus().length
|
cores: os.cpus().length
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue