mirror of
				https://git.sleeping.town/mirrors/foxy-moxy
				synced 2025-11-03 18:12:17 -08:00 
			
		
		
		
	add const
This commit is contained in:
		
							parent
							
								
									a5b32e9d53
								
							
						
					
					
						commit
						c61bbadb22
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								run.js
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								run.js
									
										
									
									
									
								
							| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
const cluster = require('express-cluster');
 | 
					const cluster = require('express-cluster');
 | 
				
			||||||
const app = require('./server.js');
 | 
					const app = require('./server.js');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
activePort = process.env.PORT || 3000;
 | 
					const activePort = process.env.PORT || 3000;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cluster((worker) => {
 | 
					cluster((worker) => {
 | 
				
			||||||
    app.listen(activePort, () => {
 | 
					    app.listen(activePort, () => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue