Skip to main content

handle_version_check

Function handle_version_check 

pub async fn handle_version_check(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Query<CheckQuery>,
) -> impl IntoResponse
Expand description

GET /api/version/check[?force=true][&version=X]

Never fails the dashboard: on any error it returns 200 with { is_newer: false, error } so the version tag degrades gracefully.