Skip to content
Snippets Groups Projects
Commit 4cc2476b authored by Zachary Carter's avatar Zachary Carter
Browse files

remove code_update handler in router - issue #1645

parent 9643365a
No related branches found
No related tags found
No related merge requests found
......@@ -121,11 +121,6 @@ app.use(function(req, res, next) {
});
});
// #11 - calls to /code_update from localhost will restart the daemon,
// this feature is not externally accessible and is only used by
// the update logic
shutdown.installUpdateHandler(app, function () {});
var bindTo = config.get('bind_to');
app.listen(bindTo.port, bindTo.host, function(conn) {
logger.info("running on http://" + app.address().address + ":" + app.address().port);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment