Allows to specify PORT from env on multiplex plugin
This commit is contained in:
		
							parent
							
								
									f0cf1f54d0
								
							
						
					
					
						commit
						5dd2dd9f0b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -9,7 +9,7 @@ var staticDir	= express.static; | |||
| io				= io.listen(app); | ||||
| 
 | ||||
| var opts = { | ||||
| 	port: 1948, | ||||
| 	port: process.env.PORT || 1948, | ||||
| 	baseDir : __dirname + '/../../' | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue