mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 16:03:21 +00:00
use fallback_service instead of nest_service for MCP router (#8566)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
5fd2c1a129
commit
99b0ebd677
@@ -546,7 +546,7 @@ pub async fn setup_mcp_server(
|
||||
let service =
|
||||
StreamableHttpService::new(move || Ok(runner.clone()), session_manager, service_config);
|
||||
|
||||
let router = Router::new().nest_service("/", service);
|
||||
let router = Router::new().fallback_service(service);
|
||||
Ok((router, cancellation_token))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user