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