From a073fca0d79965719e51b91b25f66eefc5db42f4 Mon Sep 17 00:00:00 2001 From: Koncept Kit <63216427+konceptkit@users.noreply.github.com> Date: Sat, 6 Dec 2025 00:50:35 +0700 Subject: [PATCH] Deploy prepare --- server.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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")