fix: 完善移动端订阅生成并同步分流配置文档

This commit is contained in:
2026-10-04 12:11:40 +08:00
parent 349ab8329e
commit 812d8a9441
25 changed files with 791 additions and 67 deletions

View File

@@ -48,5 +48,9 @@ export function clientSupports(client: ClientType, node: NodeCapabilityInput): C
return { ok: false, reason: `Surge 不支持该 VMess 加密方式:${node.security}` };
}
}
if (client === 'clash' && node.protocol === 'vmess'
&& !['auto', 'none', 'zero', 'aes-128-gcm', 'chacha20-poly1305', 'chacha20-ietf-poly1305'].includes(node.security ?? 'auto')) {
return { ok: false, reason: `Clash 不支持该 VMess 加密方式:${node.security}` };
}
return { ok: true };
}