v0.14.15-fix
This commit is contained in:
@@ -15,6 +15,7 @@ struct SystemInfoResponse {
|
||||
simulator_count: usize,
|
||||
bind: String,
|
||||
base_path: String,
|
||||
public_chart_base_url: String,
|
||||
gree_interface: String,
|
||||
gree_received_frames: u64,
|
||||
gree_received_frames_by_device: std::collections::HashMap<String, u64>,
|
||||
@@ -191,6 +192,7 @@ fn build_system_info(state: &AppState, devices: &[Device]) -> SystemInfoResponse
|
||||
} else {
|
||||
state.config.base_path.clone()
|
||||
},
|
||||
public_chart_base_url: state.config.public_chart_base_url.clone(),
|
||||
gree_interface: if state.config.gree_interface.trim().is_empty() {
|
||||
"auto".to_string()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user