fix(singbox): correct http_clients detour field and clarify RKN domain list label
- fix(singbox): fix http_clients[0].detour field name (was incorrectly dial_detour, causing fatal decode config unknown field error on sing-box 1.14+) - fix(ui): rename community list 'Block' to 'Block (RKN)' / 'Реестр РКН' in DOMAIN_LIST_OPTIONS and PO catalogs to prevent confusion with parental control action 'Блокировать' - fix(ui): fix domain hint for adult content to pornhub.com in section.js - test(ruleset): update http_clients detour check in ruleset_download_detour.sh
This commit is contained in:
@@ -1299,7 +1299,7 @@ function generate_config(output_path, service_address, mwan3_active, supports_xh
|
||||
if (type(config.http_clients) == "array" && length(config.http_clients) > 0) {
|
||||
let detour = download_detour_tag(settings, "lists");
|
||||
if (detour != "" && generator_routes.is_valid_detour(config, detour))
|
||||
config.http_clients[0].dial_detour = detour;
|
||||
config.http_clients[0].detour = detour;
|
||||
}
|
||||
|
||||
assert_unique_outbound_tags(config);
|
||||
|
||||
Reference in New Issue
Block a user