Deploy prepare

This commit is contained in:
Koncept Kit
2025-12-06 00:50:35 +07:00
parent 2c6c56f44c
commit a073fca0d7

View File

@@ -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")