Skip to main content

router

Function router 

Source
pub fn router() -> Router
Expand description

Build the public JSON API router rooted at /api/v2, with no CORS.

Returns an axum::Router host apps can merge / nest at the root of their application Router.