Skip to content

Commit

Permalink
Configure root_path of FastAPI object #28
Browse files Browse the repository at this point in the history
  • Loading branch information
VKTB committed Feb 2, 2024
1 parent b166c07 commit ff90cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldap_jwt_auth/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from ldap_jwt_auth.core.logger_setup import setup_logger
from ldap_jwt_auth.routers import login, refresh, verify

app = FastAPI(title=config.api.title, description=config.api.description)
app = FastAPI(title=config.api.title, description=config.api.description, root_path=config.api.root_path)

setup_logger()
logger = logging.getLogger()
Expand Down

0 comments on commit ff90cdd

Please sign in to comment.