1.修改启动的地方
This commit is contained in:
parent
317aa592a3
commit
a1121d00c8
4
main.py
4
main.py
@ -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)
|
Loading…
Reference in New Issue
Block a user