fix: Branch by bind address
This commit is contained in:
parent
d5db0360a7
commit
b7c72b902d
1 changed files with 8 additions and 3 deletions
|
@ -221,7 +221,10 @@ export const startServer = () => {
|
||||||
|
|
||||||
initializeStreamingServer(server);
|
initializeStreamingServer(server);
|
||||||
|
|
||||||
server.listen(config.port, config.bind);
|
server.listen({
|
||||||
|
port: config.port,
|
||||||
|
host: config.bind
|
||||||
|
});
|
||||||
|
|
||||||
return server;
|
return server;
|
||||||
};
|
};
|
||||||
|
@ -257,6 +260,8 @@ export default () =>
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// @ts-ignore
|
server.listen({
|
||||||
server.listen(config.port, config.bind, resolve);
|
port: config.port,
|
||||||
|
host: config.bind
|
||||||
|
}, () => resolve(undefined));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue