fix: fallback to empty string for uvicorn root_path
This commit is contained in:
parent
5aae0ec450
commit
d1985d4c6c
|
@ -74,7 +74,7 @@ def webapp(
|
|||
'reload_dirs': config.get_list(f'{config.appname}.web.app.reload_dirs'),
|
||||
'factory': config.get_bool(f'{config.appname}.web.app.factory', default=False),
|
||||
'interface': config.get(f'{config.appname}.web.app.interface', default='auto'),
|
||||
'root_path': config.get(f'{config.appname}.web.app.root_path'),
|
||||
'root_path': config.get(f'{config.appname}.web.app.root_path', default=''),
|
||||
}
|
||||
|
||||
# also must inject our config files to env, since there is no
|
||||
|
|
Loading…
Reference in a new issue