status upgrade

This commit is contained in:
Simon
2026-03-18 12:13:28 +00:00
parent ce781e2099
commit ce1afd9873
44 changed files with 508 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
use crate::providers::{
ALL_PROVIDERS, DynProvider, panic_payload_to_string, report_provider_error,
ALL_PROVIDERS, DynProvider, build_status_response, panic_payload_to_string, report_provider_error,
run_provider_guarded,
};
use crate::util::cache::VideoCache;
@@ -188,7 +188,7 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
}
}
status.iconUrl = format!("{}/favicon.ico", public_url_base).to_string();
Ok(web::HttpResponse::Ok().json(&status))
Ok(web::HttpResponse::Ok().json(&build_status_response(status)))
}
async fn videos_post(