fix(api): get all server paths from environ
This commit is contained in:
parent
c98c0ff4dd
commit
4809e00982
|
@ -215,7 +215,7 @@ def load_params(context: ServerContext):
|
|||
config_params = json.load(f)
|
||||
|
||||
|
||||
context = ServerContext()
|
||||
context = ServerContext.from_environ()
|
||||
|
||||
check_paths(context)
|
||||
load_models(context)
|
||||
|
|
Loading…
Reference in New Issue