del: 移除安卓支持

This commit is contained in:
mofeng-git
2026-07-14 21:01:47 +08:00
parent 139064de35
commit 1ded7a8a66
88 changed files with 299 additions and 7107 deletions

View File

@@ -4,7 +4,7 @@ mod event;
mod managers;
mod session;
mod systems;
#[cfg(all(unix, not(feature = "android")))]
#[cfg(unix)]
mod virtual_media;
use axum::{
@@ -196,7 +196,7 @@ pub fn create_redfish_router(state: Arc<AppState>) -> Router {
.merge(account::router(state.clone()))
.merge(event::router(state.clone()));
#[cfg(all(unix, not(feature = "android")))]
#[cfg(unix)]
let redfish_routes = redfish_routes.merge(virtual_media::router(state.clone()));
let redfish_routes = redfish_routes.layer(middleware::from_fn_with_state(