This commit is contained in:
hackrobot
2024-07-15 22:03:11 +08:00
parent 6fa209518e
commit ddad2bb1b2
2 changed files with 7 additions and 4 deletions

4
run.py
View File

@@ -1,4 +1,6 @@
import uvicorn
if __name__ == "__main__":
uvicorn.run("app.main:app", host="0.0.0.0", port=8700, reload=True)
# uvicorn.run("app.main:app", host="0.0.0.0", port=8700, reload=True)
uvicorn.run("app.main:app", host="127.0.0.1", port=8700, reload=True)