mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-25 08:33:53 +08:00
update:关于对digital-human的markdown文档的修改
This commit is contained in:
@@ -116,7 +116,7 @@ async def main():
|
||||
"=======上面的地址是websocket协议地址,请勿用浏览器访问======="
|
||||
)
|
||||
logger.bind(tag=TAG).info(
|
||||
"如想测试websocket请用谷歌浏览器打开test目录下的test_page.html"
|
||||
"如想测试websocket请启动digital-human模块,打开浏览器交互测试"
|
||||
)
|
||||
logger.bind(tag=TAG).info(
|
||||
"=============================================================\n"
|
||||
|
||||
@@ -93,7 +93,7 @@ class WebSocketServer:
|
||||
parsed_url = urlparse(request_path)
|
||||
query_params = parse_qs(parsed_url.query)
|
||||
if "device-id" not in query_params:
|
||||
await websocket.send("端口正常,如需测试连接,请使用test_page.html")
|
||||
await websocket.send("端口正常,如需测试连接,请启动digital-human测试")
|
||||
await websocket.close()
|
||||
return
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user