Skip to main content

serve_api

Function serve_api 

Source
pub async fn serve_api(port: u16, _web_path: Option<String>) -> Result<()>
Expand description

Serve the API on a dedicated port, separate from the web UI. Called by the supervisor when settings.api.bind_port is configured.