diff --git a/server.py b/server.py index 398c957..cd7066f 100644 --- a/server.py +++ b/server.py @@ -42,7 +42,10 @@ async def lifespan(app: FastAPI): logger.info("Application shutdown") # Create the main app -app = FastAPI(lifespan=lifespan) +app = FastAPI( + lifespan=lifespan, + root_path="/membership" # Configure for serving under /membership path +) # Create a router with the /api prefix api_router = APIRouter(prefix="/api")