summaryrefslogtreecommitdiff
path: root/src/server/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api')
-rw-r--r--src/server/api/endpoints/meta.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server/api/endpoints/meta.ts b/src/server/api/endpoints/meta.ts
index 000a56024d..505ff60068 100644
--- a/src/server/api/endpoints/meta.ts
+++ b/src/server/api/endpoints/meta.ts
@@ -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
});
});