Use the same route for any url
This commit is contained in:
parent
d354edac1a
commit
60d81ae52b
@ -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 });
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user