main.py 352 B

123456789101112
  1. #!/usr/bin/env python
  2. """
  3. @Contact : liuyuqi.gov@msn.cn
  4. @Time : 2024/03/19 16:50:59
  5. @License : Copyright © 2017-2022 liuyuqi. All Rights Reserved.
  6. @Desc :
  7. """
  8. from app import app
  9. if __name__ == "__main__":
  10. import uvicorn
  11. uvicorn.run(app, host="0.0.0.0", port=8080, reload=True, workers=1, log_config="uvicorn_loggin_config.json")