mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-29 15:31:46 +08:00
del: 删除构建日期设定
This commit is contained in:
@@ -18,7 +18,6 @@ pub async fn health_check() -> Json<HealthResponse> {
|
||||
#[derive(Serialize)]
|
||||
pub struct SystemInfo {
|
||||
pub version: &'static str,
|
||||
pub build_date: &'static str,
|
||||
pub initialized: bool,
|
||||
pub platform: PlatformCapabilities,
|
||||
pub capabilities: Capabilities,
|
||||
@@ -66,7 +65,6 @@ pub async fn system_info(State(state): State<Arc<AppState>>) -> Json<SystemInfo>
|
||||
|
||||
Json(SystemInfo {
|
||||
version: env!("CARGO_PKG_VERSION"),
|
||||
build_date: env!("BUILD_DATE"),
|
||||
initialized: config.initialized,
|
||||
platform: platform.clone(),
|
||||
capabilities: Capabilities {
|
||||
|
||||
Reference in New Issue
Block a user