提交 63c80121 编写于 作者: 小湉湉's avatar 小湉湉

fix uvicorn's bug

上级 da525d34
...@@ -113,7 +113,7 @@ class ServerExecutor(BaseExecutor): ...@@ -113,7 +113,7 @@ class ServerExecutor(BaseExecutor):
""" """
config = get_config(config_file) config = get_config(config_file)
if self.init(config): 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( @cli_server_register(
......
...@@ -77,7 +77,7 @@ base = [ ...@@ -77,7 +77,7 @@ base = [
"pybind11", "pybind11",
] ]
server = ["fastapi", "uvicorn<=0.18.3", "pattern_singleton", "websockets"] server = ["fastapi", "uvicorn", "pattern_singleton", "websockets"]
requirements = { requirements = {
"install": "install":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册