From 29ba3e88b1a7425fe00af0005b8a8228103aa21c Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 9 Feb 2025 00:12:08 +0800 Subject: feat(magic): update magic config. --- configs/magic/extend-script.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configs/magic/extend-script.js') diff --git a/configs/magic/extend-script.js b/configs/magic/extend-script.js index dd1475c..519cee9 100644 --- a/configs/magic/extend-script.js +++ b/configs/magic/extend-script.js @@ -12,10 +12,10 @@ function main(config, profileName) { config["proxies"] = [config["crupest-proxy"], ...config["proxies"]] delete config["crupest-proxy"] - select_proxy = { name: "node-select", type: "select", proxies: ["fallback", ...config.proxies.map(p => p.name)] } - fallback_proxy = config["crupest-fallback"] - config["proxy-groups"] = [ select_proxy, fallback_proxy ] - delete config["crupest-fallback"] + select_proxy = { name: "node-select", type: "select", proxies: ["auto-select", ...config.proxies.map(p => p.name)] } + auto_select_proxy = config["crupest-auto-select"] + config["proxy-groups"] = [ select_proxy, auto_select_proxy ] + delete config["crupest-auto-select"] return config; } -- cgit v1.2.3