fix: Branch by bind address

This commit is contained in:
Mizunashi Mana 2023-07-17 09:44:48 +09:00
parent d5db0360a7
commit b7c72b902d

View file

@ -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));
});