riot: proxy delimiter from comma (,) to slash (/)

This commit is contained in:
xiongdian.me 2023-11-03 18:34:55 +08:00
parent 37abe68d1f
commit c5841e4aaa

View File

@ -107,8 +107,8 @@ parse_remote() {
local jump_servers=""
# loop for jump servers
while [[ -n $remote ]]; do
local server=${remote%%,*}
remote=${remote#*,}
local server=${remote%%/*}
remote=${remote#*/}
get_server_meta "$server"
if [[ -n "$RET_JUMP_SERVER" ]]; then
jump_servers="$jump_servers${jump_servers:+,}$RET_JUMP_SERVER"