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.
|
|
|
import uvicorn
|
|
|
|
from server import app, AppConfig
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
)
|