From b8c9943debc0d1ddf9a338130f6b6e88bf307e02 Mon Sep 17 00:00:00 2001 From: viperdc <40721887+viperdc@users.noreply.github.com> Date: Thu, 6 Jul 2023 19:02:51 -0400 Subject: [PATCH] Update docker_healthcheck.js Correcting ini location for HTTPS health-check bypass. --- docker_healthcheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_healthcheck.js b/docker_healthcheck.js index 9213c401f..586b3a700 100755 --- a/docker_healthcheck.js +++ b/docker_healthcheck.js @@ -4,7 +4,7 @@ const fs = require("fs"); const dataDir = require("./src/services/data_dir"); const config = ini.parse(fs.readFileSync(dataDir.CONFIG_INI_PATH, 'utf-8')); -if (config.https) { +if (config.Network.https) { // built-in TLS (terminated by trilium) is not supported yet, PRs are welcome // for reverse proxy terminated TLS this will works since config.https will be false process.exit(0);