mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-19 22:32:26 +02:00
Fixed invalid epg text content parsing
This commit is contained in:
@@ -37,7 +37,7 @@ pub struct ConfigDto {
|
||||
#[serde(default)]
|
||||
pub config_hot_reload: bool,
|
||||
#[serde(default)]
|
||||
pub accept_unsecure_ssl_certificates: bool,
|
||||
pub accept_insecure_ssl_certificates: bool,
|
||||
#[serde(default)]
|
||||
pub web_ui: Option<WebUiConfigDto>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
@@ -78,7 +78,7 @@ pub struct MainConfigDto {
|
||||
#[serde(default)]
|
||||
pub config_hot_reload: bool,
|
||||
#[serde(default)]
|
||||
pub accept_unsecure_ssl_certificates: bool,
|
||||
pub accept_insecure_ssl_certificates: bool,
|
||||
}
|
||||
|
||||
impl Default for MainConfigDto {
|
||||
@@ -95,7 +95,7 @@ impl Default for MainConfigDto {
|
||||
sleep_timer_mins: None,
|
||||
update_on_boot: false,
|
||||
config_hot_reload: false,
|
||||
accept_unsecure_ssl_certificates: false,
|
||||
accept_insecure_ssl_certificates: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -114,7 +114,7 @@ impl From<&ConfigDto> for MainConfigDto {
|
||||
sleep_timer_mins: config.sleep_timer_mins,
|
||||
update_on_boot: config.update_on_boot,
|
||||
config_hot_reload: config.config_hot_reload,
|
||||
accept_unsecure_ssl_certificates: config.accept_unsecure_ssl_certificates,
|
||||
accept_insecure_ssl_certificates: config.accept_insecure_ssl_certificates,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -248,7 +248,7 @@ impl ConfigDto {
|
||||
self.sleep_timer_mins = main_config.sleep_timer_mins;
|
||||
self.update_on_boot = main_config.update_on_boot;
|
||||
self.config_hot_reload = main_config.config_hot_reload;
|
||||
self.accept_unsecure_ssl_certificates = main_config.accept_unsecure_ssl_certificates;
|
||||
self.accept_insecure_ssl_certificates = main_config.accept_insecure_ssl_certificates;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user