move console api call into console

This commit is contained in:
Iuri Matias 2018-03-13 06:46:58 -04:00
parent 88df7be49b
commit 164b940f2b

View File

@ -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") +