mirror of
				https://codeberg.org/tacerus/teddit.git
				synced 2025-10-26 07:57:20 +01:00 
			
		
		
		
	add port for listening http
This commit is contained in:
		
							parent
							
								
									324691dbb7
								
							
						
					
					
						commit
						1dd2cb5fe1
					
				
							
								
								
									
										3
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								app.js
									
									
									
									
									
								
							| @ -102,6 +102,5 @@ redis.on('error', (error) => { | ||||
| 
 | ||||
| if(config.https_enabled) { | ||||
|   https.listen(config.ssl_port, '::', () => console.log(`Teddit running on https://${config.domain}`)) | ||||
|   //https.listen(SSL_PORT, '::', () => console.log(`Teddit running on https://${domain}`))
 | ||||
| } | ||||
| http.listen(config.nonssl_port, '::', () => console.log(`Teddit running on http://${config.domain}`)) | ||||
| http.listen(config.nonssl_port, '::', () => console.log(`Teddit running on http://${config.domain}:${config.nonssl_port}`)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 teddit
						teddit