mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
Update subscribe.sh : v2ray tls
部分v2ray订阅链接返回的tls参数不是0,1,可能是"tls":"tls",因此更新节点不会勾上tls选项。 因而增加了判断
This commit is contained in:
parent
66ff9827e2
commit
c2078b506e
@ -154,7 +154,11 @@ do
|
||||
json_get_var ssr_ws_host host
|
||||
json_get_var ssr_ws_path path
|
||||
json_get_var ssr_tls tls
|
||||
|
||||
if [ "$ssr_tls" == "tls" -o "$ssr_tls" == "1" ]; then
|
||||
ssr_tls="1"
|
||||
else
|
||||
ssr_tls="0"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user