Merge pull request #2584 from devoidfury/express4

Express 4 support
This commit is contained in:
John McLear 2015-04-11 00:13:45 +01:00
commit 402e53d88e
19 changed files with 40 additions and 39 deletions

View file

@ -69,10 +69,8 @@ exports.restartServer = function () {
if(settings.trustProxy){
app.enable('trust proxy');
}
app.configure(function() {
hooks.callAll("expressConfigure", {"app": app});
});
hooks.callAll("expressConfigure", {"app": app});
hooks.callAll("expressCreateServer", {"app": app, "server": server});
server.listen(settings.port, settings.ip);