mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-08 13:25:17 +00:00
move console api call into console
This commit is contained in:
parent
72ca40cf89
commit
f4fcdb69ff
@ -51,10 +51,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);
|
||||
|
||||
this.logger.info(__("webserver available at") +
|
||||
|
Loading…
x
Reference in New Issue
Block a user