--root-path "/" appears to break path resolution from 0.26.0 onwards #2244
Unanswered
alexdunnjpl
asked this question in
Potential Issue
Replies: 1 comment
-
I am having a similar issue where I am setting a root_path with django. Specifically the change from we use
infd is set from circusd, and this is run inside an nginx proxypath that matches the root_path. This change causes the root path to be duplicated |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Up until and including 0.25.0, setting a root path of
/
was validuvicorn api.app:app --root-path "/" --host 0.0.0.0 --reload
Since 0.26.0, this results in unintentional appending of
/
to all paths, resulting in paths failing to resolve.See further details in related FastAPI issue
Beta Was this translation helpful? Give feedback.
All reactions