mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Rename fix
This commit is contained in:
		
							
								
								
									
										4
									
								
								packages/node_modules/node-red/red.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								packages/node_modules/node-red/red.js
									
									
									
									
										vendored
									
									
								
							| @@ -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."); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user