mirror of https://github.com/tiangolo/fastapi.git
🐛 Fix link in warning logs (#1611)
Co-authored-by: Dmytro Petruk <petruk@ebu.ch>
This commit is contained in:
parent
2d9bca56b2
commit
39766d0f96
|
|
@ -80,7 +80,7 @@ class FastAPI(Starlette):
|
||||||
'"openapi_prefix" has been deprecated in favor of "root_path", which '
|
'"openapi_prefix" has been deprecated in favor of "root_path", which '
|
||||||
"follows more closely the ASGI standard, is simpler, and more "
|
"follows more closely the ASGI standard, is simpler, and more "
|
||||||
"automatic. Check the docs at "
|
"automatic. Check the docs at "
|
||||||
"https://fastapi.tiangolo.com/advanced/sub-applications-proxy/"
|
"https://fastapi.tiangolo.com/advanced/sub-applications/"
|
||||||
)
|
)
|
||||||
self.root_path = root_path or openapi_prefix
|
self.root_path = root_path or openapi_prefix
|
||||||
self.docs_url = docs_url
|
self.docs_url = docs_url
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue