mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
refactor
This commit is contained in:
parent
d757993432
commit
f8429b92c9
@ -32,10 +32,9 @@ const argv = require('yargs')
|
|||||||
serverImpl
|
serverImpl
|
||||||
.start(argv)
|
.start(argv)
|
||||||
.then(instance => {
|
.then(instance => {
|
||||||
|
const address = instance.server.address();
|
||||||
console.log(
|
console.log(
|
||||||
`Unleash started on http://${instance.server.address().address}:${
|
`Unleash started on http://${address.address}:${address.port}`
|
||||||
instance.server.address().port
|
|
||||||
}`
|
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.catch(console.err);
|
.catch(console.err);
|
||||||
|
Loading…
Reference in New Issue
Block a user