move console api call into console
This commit is contained in:
parent
7d49404f81
commit
0b9e743564
|
@ -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") +
|
||||
|
|
Loading…
Reference in New Issue