3
0
Fork 0

fix: add root_path config setting for running webapp via uvicorn

This commit is contained in:
Lance Edgar 2025-01-23 17:37:32 -06:00
parent 455a0906c6
commit 5aae0ec450
2 changed files with 5 additions and 2 deletions

View file

@ -88,7 +88,8 @@ app.spec = wuttaweb.app:make_wsgi_app
reload=False,
reload_dirs=None,
factory=False,
interface='auto')
interface='auto',
root_path=None)
# with reload
uvicorn.run.reset_mock()
@ -101,4 +102,5 @@ app.spec = wuttaweb.app:make_wsgi_app
reload=True,
reload_dirs=None,
factory=False,
interface='auto')
interface='auto',
root_path=None)