feat: add cache file

This commit is contained in:
parhelia512 2025-08-15 18:33:56 +08:00 committed by GitHub
parent f0f0ded014
commit 07277b515b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -923,6 +923,13 @@ namespace Configs {
}
}
QJsonObject cache_file = {
{"enabled", "true"},
{"store_fakeip", "true"},
{"store_rdrc", "true"}
};
experimentalObj["cache_file"] = cache_file;
status->result->coreConfig.insert("log", QJsonObject{{"level", dataStore->log_level}});
status->result->coreConfig.insert("certificate", QJsonObject{{"store", dataStore->use_mozilla_certs ? "mozilla" : "system"}});
status->result->coreConfig.insert("dns", dns);