Files
One-KVM/src/web/mod.rs
mofeng-git 2ebad622f0 feat: 增加 OpenWrt 系统管理入口
- 通过 ONE_KVM_OPENWRT=1 控制入口显示和跳转;
- 读取 uhttpd 当前监听配置,并跳转到 LuCI 地址。
2026-10-12 23:02:12 +08:00

20 lines
387 B
Rust

mod audio_ws;
mod error;
mod handlers;
pub mod openwrt_system;
mod routes;
pub(crate) mod state;
mod static_files;
#[cfg(unix)]
mod uac_ws;
mod ws;
pub use audio_ws::audio_ws_handler;
pub use error::ErrorResponse;
pub use routes::create_router;
#[cfg(not(debug_assertions))]
pub use static_files::StaticAssets;
#[cfg(unix)]
pub use uac_ws::uac_audio_ws_handler;
pub use ws::ws_handler;