Update META.js

This commit is contained in:
xixu-me committed 2024-10-24 23:10:59 +08:00
1 parent 903b57fac1
commit e2fe02353e
1 file changed
+8 -8
+8 -8
View File
@@ -268,8 +268,8 @@ const proxyGroupDefaults = {
};
const serviceProxyGroupProxies = [
"STATIC",
"PROXY",
"STATIC",
"DIRECT",
...locations.map(({ name }) => name),
];
@@ -350,13 +350,6 @@ function generateLocationSelectProxyGroups() {
}
const proxyGroups = [
{
...proxyGroupDefaults,
name: "STATIC",
type: "select",
"include-all": true,
icon: `${BASE_ICON_SET_URL}Static.png`,
},
{
...proxyGroupDefaults,
name: "PROXY",
@@ -364,6 +357,13 @@ const proxyGroups = [
proxies: ["STATIC", ...locations.map(({ name }) => name)],
icon: `${BASE_ICON_SET_URL}Proxy.png`,
},
{
...proxyGroupDefaults,
name: "STATIC",
type: "select",
"include-all": true,
icon: `${BASE_ICON_SET_URL}Static.png`,
},
...generateServiceProxyGroups(services, proxyGroupDefaults),
{
...proxyGroupDefaults,