summaryrefslogtreecommitdiff
path: root/src/node/hooks/express.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/hooks/express.js')
-rw-r--r--src/node/hooks/express.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/node/hooks/express.js b/src/node/hooks/express.js
index bf849419..3abe41f8 100644
--- a/src/node/hooks/express.js
+++ b/src/node/hooks/express.js
@@ -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);