This commit is contained in:
syuilo
2018-08-19 19:15:29 +09:00
parent 9bc3fcf74f
commit c9de5b65d4
4 changed files with 24 additions and 72 deletions

View File

@ -20,6 +20,9 @@ export default () => new Promise(async (res, rej) => {
version: pkg.version,
clientVersion: client.version,
name: config.name || 'Misskey',
description: config.description,
secure: config.https != null,
machine: os.hostname(),
os: os.platform(),
@ -29,6 +32,8 @@ export default () => new Promise(async (res, rej) => {
cores: os.cpus().length
},
broadcasts: meta.broadcasts,
disableRegistration: meta.disableRegistration
disableRegistration: meta.disableRegistration,
recaptchaSitekey: config.recaptcha.site_key,
swPublickey: config.sw.public_key
});
});