mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-23 07:33:53 +08:00
update:输出地址提示
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user