Skip to main content

router

Function router 

Source
pub fn router(state: Arc<NotebookState>) -> Router
Expand description

Routes mounted at /jupyter.

Router::nest strips the /jupyter prefix before matching, but the handler re-reads the original URI (which keeps it) — the sidecar’s base_url is /jupyter, so upstream paths must keep the prefix.