This commit is contained in:
hackrobot
2024-07-18 09:38:18 +08:00
parent 4ef917c9f1
commit 993efda0a6
2 changed files with 12 additions and 2 deletions

View File

@@ -48,4 +48,6 @@ async def send_message(request: Request):
# 运行应用程序
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=8521)
# uvicorn.run(app, host="0.0.0.0", port=8521)
uvicorn.run(app, host="127.0.0.1", port=8521)