We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcf235d commit eabcc0cCopy full SHA for eabcc0c
backend/cli.py
@@ -34,7 +34,7 @@ def run(host: str, port: int, reload: bool, workers: int | None) -> None:
34
url = f'http://{host}:{port}'
35
docs_url = url + settings.FASTAPI_DOCS_URL
36
redoc_url = url + settings.FASTAPI_REDOC_URL
37
- openapi_url = url + settings.FASTAPI_OPENAPI_URL
+ openapi_url = url + (settings.FASTAPI_OPENAPI_URL or '')
38
39
panel_content = Text()
40
panel_content.append(f'📝 Swagger 文档: {docs_url}\n', style='blue')
0 commit comments