Create the plaintext loopback-only router for browser service endpoints. This router intentionally exposes only sandbox service routing. It does not include gRPC, auth, health, metrics, or WebSocket tunnel routes.
(state: Arc<crate::ServerState>)
| 192 | /// This router intentionally exposes only sandbox service routing. It does not |
| 193 | /// include gRPC, auth, health, metrics, or WebSocket tunnel routes. |
| 194 | pub fn service_http_router(state: Arc<crate::ServerState>) -> Router { |
| 195 | Router::new() |
| 196 | .fallback(sandbox_service_routing_only) |
| 197 | .with_state(state) |
| 198 | } |
| 199 | |
| 200 | async fn sandbox_service_routing_first( |
| 201 | State(state): State<Arc<crate::ServerState>>, |
nothing calls this directly
no test coverage detected