feat: Support hide group

#214
This commit is contained in:
MystiPanda
2024-01-11 12:34:05 +08:00
parent 7bd3ee9340
commit 6f03b72368
5 changed files with 22 additions and 6 deletions

View File

@@ -119,7 +119,14 @@ export const getProxies = async () => {
const generateItem = (name: string) => {
if (proxyRecord[name]) return proxyRecord[name];
if (providerMap[name]) return providerMap[name];
return { name, type: "unknown", udp: false, history: [] };
return {
name,
type: "unknown",
udp: false,
xudp: false,
tfo: false,
history: [],
};
};
const { GLOBAL: global, DIRECT: direct, REJECT: reject } = proxyRecord;