mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-25 07:36:18 +09:00
[API] Improve /meta
This commit is contained in:
parent
28b2770de1
commit
1d2f112a06
@ -1,6 +1,7 @@
|
||||
/**
|
||||
* 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
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user