summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-28 14:57:02 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-28 14:57:02 +0900
commit5f4f046cd6c45dc770981397f50b0b00cee66527 (patch)
tree9472413245b4de0af6fcf9b4401295a959752655 /src
parentSend 404 status correctly (diff)
downloadsharkey-5f4f046cd6c45dc770981397f50b0b00cee66527.tar.gz
sharkey-5f4f046cd6c45dc770981397f50b0b00cee66527.tar.bz2
sharkey-5f4f046cd6c45dc770981397f50b0b00cee66527.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/api/endpoints/meta.ts2
1 files changed, 1 insertions, 1 deletions
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,