feat: 支持 VLESS mKcp

This commit is contained in:
xream
2024-10-23 17:38:59 +08:00
parent 8fe818f826
commit baec193e5c
3 changed files with 21 additions and 1 deletions

View File

@@ -224,6 +224,18 @@ export default function URI_Producer() {
vlessTransportServiceName,
)}`;
}
if (proxy.network === 'kcp') {
if (proxy.seed) {
vlessTransport += `&seed=${encodeURIComponent(
proxy.seed,
)}`;
}
if (proxy.headerType) {
vlessTransport += `&headerType=${encodeURIComponent(
proxy.headerType,
)}`;
}
}
result = `vless://${proxy.uuid}@${proxy.server}:${
proxy.port