diff --git a/dashboard/src/mcp.rs b/dashboard/src/mcp.rs index 65f042c521bdab1b64f1347fd7c9b76e1c9d3915..066257e8e5bf6533b23f597f501a4076f18ae07a 100644 --- a/dashboard/src/mcp.rs +++ b/dashboard/src/mcp.rs @@ -574,6 +574,7 @@ pub fn router( } next.run(request).await } + Err(error) if error.status != 401 => error.into_response(), Err(_) => ( StatusCode::UNAUTHORIZED, [(