Fix working on passenger
This commit is contained in:
parent
1cfffb0b81
commit
cf39521339
1 changed files with 4 additions and 0 deletions
4
app.js
4
app.js
|
@ -63,4 +63,8 @@ app.use(function(err, req, res, next) {
|
|||
res.render('error');
|
||||
});
|
||||
|
||||
if (typeof(PhusionPassenger) !== 'undefined') {
|
||||
app.listen('passenger');
|
||||
}
|
||||
|
||||
module.exports = app;
|
||||
|
|
Loading…
Reference in a new issue