From 164b940f2bf928dc8a50d66672744ebe8f56b2f5 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 13 Mar 2018 06:46:58 -0400 Subject: [PATCH] move console api call into console --- lib/modules/webserver/server.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/modules/webserver/server.js b/lib/modules/webserver/server.js index 0531c294..ca2929e4 100644 --- a/lib/modules/webserver/server.js +++ b/lib/modules/webserver/server.js @@ -45,10 +45,6 @@ class Server { res.send('Welcome to Embark') }); - app.get('/embark/console', function (req, res) { - self.events.request('console:command', req.query.cmd, res.send.bind(res)); - }); - app.listen(this.port); let message = __("webserver available at") +