fix uvicorn's bug

pull/2558/head
TianYuan 2 years ago
parent da525d346f
commit 63c80121e2

@ -113,7 +113,7 @@ class ServerExecutor(BaseExecutor):
"""
config = get_config(config_file)
if self.init(config):
uvicorn.run(app, host=config.host, port=config.port, debug=True)
uvicorn.run(app, host=config.host, port=config.port)
@cli_server_register(

@ -77,7 +77,7 @@ base = [
"pybind11",
]
server = ["fastapi", "uvicorn<=0.18.3", "pattern_singleton", "websockets"]
server = ["fastapi", "uvicorn", "pattern_singleton", "websockets"]
requirements = {
"install":

Loading…
Cancel
Save