mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-09 22:04:47 +00:00
fix: config loading into run
This commit is contained in:
parent
505d539fdf
commit
03919c88c6
2 changed files with 33 additions and 35 deletions
|
@ -17,6 +17,5 @@ if __name__ == "__main__":
|
|||
parser.add_argument("--reload", action="store_true", help="Enable hot reloading")
|
||||
args = parser.parse_args()
|
||||
|
||||
config = uvicorn.Config(**load_uvicorn_config(args))
|
||||
|
||||
uvicorn.run(config)
|
||||
config_kwargs = load_uvicorn_config(args)
|
||||
uvicorn.run(**config_kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue