Use the same route for any url
This commit is contained in:
		@@ -14,7 +14,7 @@ module.exports.run = function(worker) {
 | 
				
			|||||||
  app.set('view engine', 'ejs');
 | 
					  app.set('view engine', 'ejs');
 | 
				
			||||||
  app.set('views', path.resolve(__dirname, '..', 'views'));
 | 
					  app.set('views', path.resolve(__dirname, '..', 'views'));
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  app.get('/', function(req, res) {
 | 
					  app.get('*', function(req, res) {
 | 
				
			||||||
    res.render('index', { port: worker.options.port });
 | 
					    res.render('index', { port: worker.options.port });
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user