mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 00:29:03 +08:00
增加 Loon UDP relay (SS/SSR) 的支持
This commit is contained in:
parent
c225751b6f
commit
51c2ea3dde
@ -2449,7 +2449,7 @@ var ProxyUtils = (function () {
|
|||||||
|
|
||||||
return `${proxy.name}=shadowsocks,${proxy.server},${proxy.port},${proxy.cipher},"${proxy.password}"${obfs_opts}${udp_opts}`;
|
return `${proxy.name}=shadowsocks,${proxy.server},${proxy.port},${proxy.cipher},"${proxy.password}"${obfs_opts}${udp_opts}`;
|
||||||
case "ssr":
|
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":
|
case "vmess":
|
||||||
obfs_opts = "";
|
obfs_opts = "";
|
||||||
if (proxy.network === "ws") {
|
if (proxy.network === "ws") {
|
||||||
|
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user