From ff90cdde30dc0e147d8567544ae9e0f4fa29faa3 Mon Sep 17 00:00:00 2001 From: VKTB <45173816+VKTB@users.noreply.github.com> Date: Fri, 2 Feb 2024 12:05:46 +0000 Subject: [PATCH] Configure root_path of FastAPI object #28 --- ldap_jwt_auth/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldap_jwt_auth/main.py b/ldap_jwt_auth/main.py index 3731375..40debc9 100644 --- a/ldap_jwt_auth/main.py +++ b/ldap_jwt_auth/main.py @@ -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()