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.
This commit is contained in:
1 parent
0d0cf419ab
commit
4a65083c3f
1 file changed
+4
-4
@@ -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),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user