Skip to content

Commit 8b6af1e

Browse files
fix: daemon was always using ssl regardless of config (#224)
1 parent d252f45 commit 8b6af1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/daemon/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const HEALTHCHECK_SERVER_API_KEY = process.env.HEALTHCHECK_SERVER_API_KEY
8484
export const HEALTHCHECK_PING_INTERVAL = parseInt(process.env.HEALTHCHECK_PING_INTERVAL ?? '10000', 10); // 10 seconds
8585

8686
// Other
87-
export const USE_SSL = process.env.USE_SSL;
87+
export const USE_SSL = process.env.USE_SSL === 'true';
8888

8989
// Reorg size thresholds for different alert levels
9090
export const REORG_SIZE_INFO = parseInt(process.env.REORG_SIZE_INFO ?? '1', 10);

0 commit comments

Comments
 (0)