mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
use port and host from config
This commit is contained in:
parent
e2b3dcf629
commit
749853be32
@ -40,8 +40,9 @@ class Authenticator {
|
||||
|
||||
registerEvents() {
|
||||
this.events.once('outputDone', () => {
|
||||
const {port, host} = this.embark.config.webServerConfig;
|
||||
this.logger.info(__('Access the web backend with the following url: %s',
|
||||
('http://localhost:8000/embark?token=' + this.authToken).underline));
|
||||
(`http://${host}:${port}/embark?token=${this.authToken}`.underline)));
|
||||
});
|
||||
|
||||
this.events.setCommandHandler('api:authorize', (token, cb) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user