增加 Loon UDP relay (SS/SSR) 的支持

This commit is contained in:
Peng-YM 2021-03-26 19:21:19 +08:00
parent c225751b6f
commit 51c2ea3dde
2 changed files with 3 additions and 3 deletions

View File

@ -2449,7 +2449,7 @@ var ProxyUtils = (function () {
return `${proxy.name}=shadowsocks,${proxy.server},${proxy.port},${proxy.cipher},"${proxy.password}"${obfs_opts}${udp_opts}`;
case "ssr":
return `${proxy.name}=shadowsocksr,${proxy.server},${proxy.port},${proxy.cipher},"${proxy.password}",${proxy.protocol},{${proxy["protocol-param"] || ""}},${proxy.obfs},{${proxy["obfs-param"] || ""}}`;
return `${proxy.name}=shadowsocksr,${proxy.server},${proxy.port},${proxy.cipher},"${proxy.password}",${proxy.protocol},{${proxy["protocol-param"] || ""}},${proxy.obfs},{${proxy["obfs-param"] || ""}}${udp_opts}`;
case "vmess":
obfs_opts = "";
if (proxy.network === "ws") {

File diff suppressed because one or more lines are too long