From 4cc2476bf8d3c8951a360301ccdd7e176a2897cd Mon Sep 17 00:00:00 2001
From: Zachary Carter <zack.carter@gmail.com>
Date: Tue, 29 May 2012 09:40:29 -0700
Subject: [PATCH] remove code_update handler in router - issue #1645

---
 bin/router | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/bin/router b/bin/router
index fa000fadf..4b4bb5fe4 100755
--- a/bin/router
+++ b/bin/router
@@ -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);
-- 
GitLab