diff --git a/docs/Deployment.md b/docs/Deployment.md index b0c934da..03147198 100644 --- a/docs/Deployment.md +++ b/docs/Deployment.md @@ -276,15 +276,11 @@ LLM: 如果你能看到,类似以下日志,则是本项目服务启动成功的标志。 ``` -250426 21:44:42[0.3.11_SiFuChEdnofu][core.websocket_server]-INFO-Web Socket Server is running at ws://xx.xx.xx.xx:8000/xiaozhi/v1/ -250426 21:44:42[0.3.11_SiFuChEdnofu][core.websocket_server]-INFO-=======上面的地址是websocket协议地址,请勿用浏览器访问======= -250426 21:44:42[0.3.11_SiFuChEdnofu][core.websocket_server]-INFO-如想测试websocket请用谷歌浏览器打开test目录下的test_page.html -250426 21:44:42[0.3.11_SiFuChEdnofu][core.websocket_server]-INFO-============================================================= - -250426 21:44:42[0.3.11_SiFuChEdnofu][core.ota_server]-INFO-Simple OTA Server is running at http://xx.xx.xx.xx:8002/xiaozhi/ota/ -250426 21:44:42[0.3.11_SiFuChEdnofu][core.ota_server]-INFO-=======上面的地址为最简化安装环境提供OTA基础信息,可用作小智固件v1.6.1及以后版本的自定义OTA地址======= -250426 21:44:42[0.3.11_SiFuChEdnofu][core.ota_server]-INFO-如想测试OTA地址请用谷歌浏览器打开test目录下的test_page.html -250426 21:44:42[0.3.11_SiFuChEdnofu][core.ota_server]-INFO-============================================================= +250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-OTA接口是 http://192.168.4.123:8002/xiaozhi/ota/ +250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-Websocket地址是 ws://192.168.4.123:8000/xiaozhi/v1/ +250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-=======上面的地址是websocket协议地址,请勿用浏览器访问======= +250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-如想测试websocket请用谷歌浏览器打开test目录下的test_page.html +250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-======================================================= ``` 正常来说,如果您是通过源码运行本项目,日志会有你的接口地址信息。 diff --git a/docs/Deployment_all.md b/docs/Deployment_all.md index a2112227..0d372353 100644 --- a/docs/Deployment_all.md +++ b/docs/Deployment_all.md @@ -169,7 +169,7 @@ docker logs -f xiaozhi-esp32-server 如果你能看到,类似以下日志,则是Server启动成功的标志。 ``` -25-02-23 12:01:09[core.websocket_server] - INFO - Server is running at ws://xxx.xx.xx.xx:8000/xiaozhi/v1/ +25-02-23 12:01:09[core.websocket_server] - INFO - Websocket地址是 ws://xxx.xx.xx.xx:8000/xiaozhi/v1/ 25-02-23 12:01:09[core.websocket_server] - INFO - =======上面的地址是websocket协议地址,请勿用浏览器访问======= 25-02-23 12:01:09[core.websocket_server] - INFO - 如想测试websocket请用谷歌浏览器打开test目录下的test_page.html 25-02-23 12:01:09[core.websocket_server] - INFO - ======================================================= diff --git a/main/xiaozhi-server/app.py b/main/xiaozhi-server/app.py index 2a80c6ca..63b40d71 100644 --- a/main/xiaozhi-server/app.py +++ b/main/xiaozhi-server/app.py @@ -42,7 +42,7 @@ async def main(): read_config_from_api = config.get("read_config_from_api", False) if not read_config_from_api: - # 启动 Simple OAT 服务器 + # 启动 Simple OTA 服务器 ota_server = SimpleOtaServer(config) ota_task = asyncio.create_task(ota_server.start())