fix: Branch by bind address
This commit is contained in:
parent
d5db0360a7
commit
b7c72b902d
@ -221,7 +221,10 @@ export const startServer = () => {
|
||||
|
||||
initializeStreamingServer(server);
|
||||
|
||||
server.listen(config.port, config.bind);
|
||||
server.listen({
|
||||
port: config.port,
|
||||
host: config.bind
|
||||
});
|
||||
|
||||
return server;
|
||||
};
|
||||
@ -257,6 +260,8 @@ export default () =>
|
||||
}
|
||||
});
|
||||
|
||||
// @ts-ignore
|
||||
server.listen(config.port, config.bind, resolve);
|
||||
server.listen({
|
||||
port: config.port,
|
||||
host: config.bind
|
||||
}, () => resolve(undefined));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user