From f468d6e947dcb39fd17aa5d87759a1bcd5c3bbc4 Mon Sep 17 00:00:00 2001 From: bartbutenaers Date: Sat, 2 May 2020 14:40:01 +0200 Subject: [PATCH] Rename fix --- packages/node_modules/node-red/red.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/node_modules/node-red/red.js b/packages/node_modules/node-red/red.js index 92b5b5a36..79b3d8bb2 100755 --- a/packages/node_modules/node-red/red.js +++ b/packages/node_modules/node-red/red.js @@ -156,7 +156,7 @@ if (settings.https) { if (settings.httpsRefreshInterval) { if (typeof startupHttps === "function") { if (server.setSecureContext) { - console.log("Refreshing https settings every " + parseInt(settings.credentialRenewalTime) + " seconds."); + console.log("Refreshing https settings every " + parseInt(settings.httpsRefreshInterval) + " mseconds."); setInterval(function () { try { // Get the result of the function, because createServer doesn't accept functions as input @@ -175,7 +175,7 @@ if (settings.https) { } catch(err) { console.log("Failed to refresh the https settings: " + err); } - }, parseInt(settings.credentialRenewalTime) * 1000); + }, parseInt(settings.httpsRefreshInterval)); } else { console.log("Cannot refresh the https settings automatically, because NodeJs version 11 or above is required."); }