fix: fix missing host in onebot http-server listen

This commit is contained in:
Lan Zongwei authored and 手瓜一十雪 committed 2025-06-05 12:59:01 +08:00
1 parent 73ac836cd2
commit a3363f7621
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ export class OB11HttpServerAdapter extends IOB11NetworkAdapter<HttpServerConfig>
this.app.use(async (req, res) => {
await this.handleRequest(req, res);
});
this.server.listen(this.config.port, () => {
this.server.listen(this.config.port, this.config.host, () => {
this.core.context.logger.log(`[OneBot] [HTTP Server Adapter] Start On Port ${this.config.port}`);
});
}