Clinical-Genomics-Lund / bonsai

Visualize and analyze resistance and outbreak of bacterial pathogen
https://bonsai-wgs.readthedocs.io/en/latest/
GNU General Public License v3.0
4 stars 1 forks source link

Bonsai API behind proxy is now not working properly #139

Closed mhkc closed 9 months ago

mhkc commented 9 months ago

Describe the bug When using Bonsai and the API behind a proxy the behavior of root path seem to have changed. This causes calls to api entrypoints not to be routed correctly leading to 404 errors.

The issue is caused by updates to how root_path is handled in Uvicorn v0.26.0, see PR and related fastapi issue