mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2026-01-03 01:19:04 +08:00
dont create clash api when not needed
This commit is contained in:
parent
6755d52466
commit
e6f9cf8321
@ -723,7 +723,10 @@ namespace NekoGui {
|
||||
{"external_ui", "dashboard"},
|
||||
};
|
||||
}
|
||||
experimentalObj["clash_api"] = clash_api;
|
||||
if (dataStore->core_box_clash_api > 0 || dataStore->enable_stats)
|
||||
{
|
||||
experimentalObj["clash_api"] = clash_api;
|
||||
}
|
||||
}
|
||||
|
||||
status->result->coreConfig.insert("log", QJsonObject{{"level", dataStore->log_level}});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user