From 2dc053f1a04f51863359b03379213e2d7795f046 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 28 Nov 2017 14:57:02 +0900 Subject: [PATCH] Fix bug --- src/api/endpoints/meta.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/endpoints/meta.ts b/src/api/endpoints/meta.ts index e27ca39e7..1370ead3c 100644 --- a/src/api/endpoints/meta.ts +++ b/src/api/endpoints/meta.ts @@ -45,7 +45,7 @@ module.exports = (params) => new Promise(async (res, rej) => { res({ maintainer: config.maintainer, version: version, - secure: config.https.enable, + secure: config.https != null, machine: os.hostname(), os: os.platform(), node: process.version,