From 9dda00b6faff45bb86614f4cd8afce091b820142 Mon Sep 17 00:00:00 2001 From: lzw Date: Wed, 4 Jun 2025 23:54:40 +0800 Subject: [PATCH] chore: add host in listen log Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- src/onebot/network/http-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot/network/http-server.ts b/src/onebot/network/http-server.ts index 7e8a13e6..b197bdd2 100644 --- a/src/onebot/network/http-server.ts +++ b/src/onebot/network/http-server.ts @@ -88,7 +88,7 @@ export class OB11HttpServerAdapter extends IOB11NetworkAdapter 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}`); }); }