From 52664253bd9abbde857e768757ab56c5965acbff Mon Sep 17 00:00:00 2001 From: Ren Date: Sun, 9 Jun 2024 20:00:11 +0700 Subject: [PATCH] fix: add root path --- cefies/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cefies/app.py b/cefies/app.py index c2b586e..ec00753 100644 --- a/cefies/app.py +++ b/cefies/app.py @@ -3,6 +3,6 @@ import cefies.internal.firestore # noqa: F401 -- Intended to initialize Firebase from cefies.routes import index_router, auth_router -app = FastAPI() +app = FastAPI(root_path="/api") app.include_router(index_router) app.include_router(auth_router)