refactor remote mount

This commit is contained in:
Scott E. Graves 2024-12-19 10:31:18 -06:00
parent ad4e950005
commit b7f79c4192

View File

@ -590,6 +590,7 @@ auto app_config::load() -> bool {
get_value(json_document, "PreferredDownloadType", get_value(json_document, "PreferredDownloadType",
preferred_download_type_, ret); preferred_download_type_, ret);
get_value(json_document, "RetryReadCount", retry_read_count_, ret); get_value(json_document, "RetryReadCount", retry_read_count_, ret);
get_value(json_document, "RemoteConfig", remote_config_, ret);
if (json_document.find("RemoteMount") != json_document.end()) { if (json_document.find("RemoteMount") != json_document.end()) {
auto remoteMount = json_document.at("RemoteMount"); auto remoteMount = json_document.at("RemoteMount");
get_value(remoteMount, "Enable", enable_remote_mount_, ret); get_value(remoteMount, "Enable", enable_remote_mount_, ret);