Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit ee9adb2

Browse files
committed
Update root_path default to empty string
1 parent 8ff99ff commit ee9adb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async def lifespan(app: FastAPI):
9393
app = FastAPIOffline(
9494
docs_url="/manpage/docs",
9595
openapi_url="/manpage/openapi.json",
96-
root_path=os.getenv("API_ROOT_PATH", None),
96+
root_path=os.getenv("API_ROOT_PATH", ""),
9797
title="GraphRAG",
9898
version=os.getenv("GRAPHRAG_VERSION", "undefined_version"),
9999
lifespan=lifespan,

0 commit comments

Comments
 (0)