From 5f4f046cd6c45dc770981397f50b0b00cee66527 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 28 Nov 2017 14:57:02 +0900 Subject: Fix bug --- src/api/endpoints/meta.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/endpoints/meta.ts b/src/api/endpoints/meta.ts index e27ca39e7e..1370ead3c5 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, -- cgit v1.2.3-freya