Skip to content

Commit

Permalink
Update FastAPI (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyakovri committed Apr 5, 2024
1 parent d08c06a commit 74797ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
alembic
auth-lib-profcomff[fastapi]
fastapi==0.108.0
fastapi
fastapi-sqlalchemy
gunicorn
logging-profcomff
Expand Down
2 changes: 1 addition & 1 deletion userdata_api/routes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
description='Серверная часть сервиса хранения и управления информации о пользователе',
version=__version__,
# Отключаем нелокальную документацию
root_path=settings.ROOT_PATH if __version__ != 'dev' else '/',
root_path=settings.ROOT_PATH if __version__ != 'dev' else '',
docs_url=None if __version__ != 'dev' else '/docs',
redoc_url=None,
)
Expand Down

0 comments on commit 74797ae

Please sign in to comment.