From 19111abf824389f3e8d158f56c67f0731b3a6416 Mon Sep 17 00:00:00 2001 From: swve Date: Thu, 8 Feb 2024 20:36:06 +0100 Subject: [PATCH] fix: root_path issue --- apps/api/app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/api/app.py b/apps/api/app.py index 3a7f62c6..603a265c 100644 --- a/apps/api/app.py +++ b/apps/api/app.py @@ -9,7 +9,6 @@ from fastapi_jwt_auth.exceptions import AuthJWTException from fastapi.middleware.gzip import GZipMiddleware - # from src.services.mocks.initial import create_initial_data ######################## @@ -26,7 +25,6 @@ app = FastAPI( title=learnhouse_config.site_name, description=learnhouse_config.site_description, version="0.1.0", - root_path="/", ) app.add_middleware( @@ -61,8 +59,8 @@ app.mount("/content", StaticFiles(directory="content"), name="content") # Global Routes app.include_router(v1_router) + # General Routes @app.get("/") async def root(): return {"Message": "Welcome to LearnHouse ✨"} -