Fix working on passenger

This commit is contained in:
Mikołaj Pich 2017-12-06 21:08:28 +01:00
parent 1cfffb0b81
commit cf39521339

4
app.js
View file

@ -63,4 +63,8 @@ app.use(function(err, req, res, next) {
res.render('error');
});
if (typeof(PhusionPassenger) !== 'undefined') {
app.listen('passenger');
}
module.exports = app;