add missing cert parameters
This commit is contained in:
		
							parent
							
								
									51cf2ff6f9
								
							
						
					
					
						commit
						f23ecef636
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -66,8 +66,8 @@ let server; | |||
| if (sslKey && sslCert) { | ||||
|     console.log("Server Type: HTTPS"); | ||||
|     server = https.createServer({ | ||||
|         key: sslKey, | ||||
|         cert: sslCert | ||||
|         key: fs.readFileSync(sslKey), | ||||
|         cert: fs.readFileSync(sslCert) | ||||
|     }, app); | ||||
| } else { | ||||
|     console.log("Server Type: HTTP"); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue