chore: add host in listen log

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
This commit is contained in:
lzwandsourcery-ai[bot] authored and 手瓜一十雪 committed 2025-06-05 12:59:01 +08:00
1 parent a29debb738
commit 9dda00b6fa
1 file changed
+1 -1
+1 -1
View File
@@ -88,7 +88,7 @@ export class OB11HttpServerAdapter extends IOB11NetworkAdapter<HttpServerConfig>
await this.handleRequest(req, res);
});
this.server.listen(this.config.port, this.config.host, () => {
this.core.context.logger.log(`[OneBot] [HTTP Server Adapter] Start On Port ${this.config.port}`);
this.core.context.logger.log(`[OneBot] [HTTP Server Adapter] Start On ${this.config.host}:${this.config.port}`);
});
}