You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
284 B
12 lines
284 B
import uvicorn
|
|
from server import app, AppConfig # noqa: F401
|
|
|
|
|
|
if __name__ == '__main__':
|
|
uvicorn.run(
|
|
app='app:app',
|
|
host=AppConfig.app_host,
|
|
port=AppConfig.app_port,
|
|
root_path=AppConfig.app_root_path,
|
|
reload=AppConfig.app_reload,
|
|
)
|
|
|