move console api call into console

This commit is contained in:
Iuri Matias 2018-03-13 06:46:58 -04:00
parent 7d49404f81
commit 0b9e743564
1 changed files with 0 additions and 4 deletions

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