1.修改启动的地方

This commit is contained in:
李伟 2022-07-07 10:58:14 +08:00
parent 317aa592a3
commit a1121d00c8

View File

@ -162,5 +162,5 @@ async def add_process_time_header(request: Request, call_next):
if __name__ == '__main__':
uvicorn.run(app='main:app', host="10.0.0.240", port=7899, reload=True, debug=True)
#uvicorn.run(app='main:app', host="0.0.0.0", port=7899, reload=True, debug=True)
#uvicorn.run(app='main:app', host="10.0.0.240", port=7899, reload=True, debug=True)
uvicorn.run(app='main:app', host="0.0.0.0", port=7899, reload=True, debug=True)