From 69896a7299a72f734ef0b719b335358f25d392f9 Mon Sep 17 00:00:00 2001 From: Gabriel Ngandu-Biseba Date: Fri, 6 Dec 2024 11:43:25 +0100 Subject: [PATCH] Rename the UPTIME_KUMA_DB_SSL_CERT environment variable to a more expressive name --- server/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/config.js b/server/config.js index ce1e35293..e94804b63 100644 --- a/server/config.js +++ b/server/config.js @@ -20,7 +20,7 @@ const sslKeyPassphrase = args["ssl-key-passphrase"] || process.env.UPTIME_KUMA_S const isSSL = sslKey && sslCert; -const mariaDbSslCert = args["UPTIME_KUMA_DB_SSL_CERT"] || process.env.UPTIME_KUMA_DB_SSL_CERT || process.env.MARIADB_SSL_CERT || undefined; +const mariaDbSslCert = args["UPTIME_KUMA_DB_SSL_CERT"] || process.env.UPTIME_KUMA_DB_CA_CERT || process.env.MARIADB_SSL_CERT || undefined; const mariaDbUseSSL = mariaDbSslCert ? "true" : "false"; /**