update:输出地址提示

This commit is contained in:
hrz
2025-02-16 21:48:25 +08:00
parent 1598f6cd14
commit 8dd051944a
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -46,7 +46,9 @@ class WebSocketServer:
host = server_config["ip"]
port = server_config["port"]
self.logger.info("=======下面的地址是websocket协议地址,请勿用浏览器访问=======")
self.logger.info("Server is running at ws://%s:%s", get_local_ip(), port)
self.logger.info("=======上面的地址是websocket协议地址,请勿用浏览器访问=======")
async with websockets.serve(
self._handle_connection,
host,