Update docker_healthcheck.js

Correcting ini location for HTTPS health-check bypass.
This commit is contained in:
viperdc
2023-07-06 19:02:51 -04:00
committed by GitHub
parent 05d2f4fe96
commit b8c9943deb
+1 -1
View File
@@ -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);