From 4a65083c3f030bd39f0a348dd4d37ce7a4d749b0 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Mon, 10 Nov 2025 19:34:34 +0800 Subject: [PATCH] Reorder 'AUTO' and 'FALLBACK' in proxy group arrays Moved 'AUTO' and 'FALLBACK' entries to appear after static proxy names and other load balancing options in proxy group definitions for improved logical grouping and consistency. --- META.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/META.js b/META.js index 209564a..bd3bc75 100644 --- a/META.js +++ b/META.js @@ -293,8 +293,8 @@ const staticProxyNames = generateStaticProxyNames(); const serviceProxyGroupProxies = [ "PROXY", - "AUTO", ...staticProxyNames, + "AUTO", "DIRECT", "Mainland China 🇨🇳", ...locations.map(({ name }) => name), @@ -384,11 +384,11 @@ function generateLocationSelectProxyGroups() { type: "select", icon, proxies: [ - `AUTO ${name.split(" ").pop()}`, - `FALLBACK ${name.split(" ").pop()}`, `LOAD BALANCING (consistent hashing) ${name.split(" ").pop()}`, `LOAD BALANCING (round-robin) ${name.split(" ").pop()}`, `LOAD BALANCING (sticky sessions) ${name.split(" ").pop()}`, + `FALLBACK ${name.split(" ").pop()}`, + `AUTO ${name.split(" ").pop()}`, ], })); } @@ -413,8 +413,8 @@ const proxyGroups = [ name: "PROXY", type: "select", proxies: [ - "AUTO", ...staticProxyNames, + "AUTO", "Mainland China 🇨🇳", ...locations.map(({ name }) => name), ],