mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
feat: add cache file
This commit is contained in:
parent
f0f0ded014
commit
07277b515b
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user