mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: mcp images mount
This commit is contained in:
+2
-2
@@ -43,10 +43,10 @@ app = FastAPI(
|
||||
generate_unique_id_function=custom_generate_unique_id,
|
||||
lifespan=lifespan
|
||||
)
|
||||
# mcp server, images path
|
||||
app.mount("/images", StaticFiles(directory=settings.MCP_IMAGE_PATH), name="images")
|
||||
|
||||
mcp_app = FastAPI()
|
||||
# mcp server, images path
|
||||
mcp_app.mount("/images", StaticFiles(directory=settings.MCP_IMAGE_PATH), name="images")
|
||||
|
||||
mcp = FastApiMCP(
|
||||
app,
|
||||
|
||||
Reference in New Issue
Block a user