Use the same route for any url

This commit is contained in:
Zalmoxisus 2016-11-06 19:40:23 +02:00
parent d354edac1a
commit 60d81ae52b

View File

@ -14,7 +14,7 @@ module.exports.run = function(worker) {
app.set('view engine', 'ejs');
app.set('views', path.resolve(__dirname, '..', 'views'));
app.get('/', function(req, res) {
app.get('*', function(req, res) {
res.render('index', { port: worker.options.port });
});