mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-02-21 16:37:21 +08:00
11 lines
368 B
Python
11 lines
368 B
Python
import uvicorn
|
|
from loguru import logger
|
|
from app.config import config
|
|
|
|
import __init__ # noqa
|
|
|
|
if __name__ == '__main__':
|
|
logger.info("start server, docs: http://127.0.0.1:" + str(config.listen_port) + "/docs")
|
|
uvicorn.run(app="app.asgi:app", host=config.listen_host, port=config.listen_port, reload=config.reload_debug,
|
|
log_level="warning")
|