Skip to content

Commit cc9af61

Browse files
committed
feat: mcp image path
1 parent 7f3a0f3 commit cc9af61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def custom_generate_unique_id(route: APIRoute) -> str:
4141
lifespan=lifespan
4242
)
4343
# mcp server, images path
44-
app.mount("/images", StaticFiles(directory="/opt/sqlbot/images"), name="images")
44+
app.mount("/images", StaticFiles(directory=settings.MCP_IMAGE_PATH), name="images")
4545

4646
mcp_app = FastAPI()
4747

0 commit comments

Comments
 (0)