(
State(state): State<Arc<crate::ServerState>>,
req: Request,
next: Next,
)
| 198 | } |
| 199 | |
| 200 | async fn sandbox_service_routing_first( |
| 201 | State(state): State<Arc<crate::ServerState>>, |
| 202 | req: Request, |
| 203 | next: Next, |
| 204 | ) -> impl IntoResponse { |
| 205 | if crate::service_routing::is_sandbox_service_request(&req, &state.config.service_routing) { |
| 206 | return crate::service_routing::proxy_sandbox_service_request(state, req) |
| 207 | .await |
| 208 | .into_response(); |
| 209 | } |
| 210 | next.run(req).await.into_response() |
| 211 | } |
| 212 | |
| 213 | async fn sandbox_service_routing_only( |
| 214 | State(state): State<Arc<crate::ServerState>>, |
nothing calls this directly
no test coverage detected