Update duoxray.sh

This commit is contained in:
NewName
2024-10-01 05:34:32 +08:00
parent 7b1599f33a
commit 148d47c0e7

View File

@@ -41,7 +41,7 @@ print_node_links() {
local id=$2 local id=$2
local outbound_ip=$3 local outbound_ip=$3
local link="vmess://$(echo -n "{\"v\":\"2\",\"ps\":\"$outbound_ip\",\"add\":\"$outbound_ip\",\"port\":\"$port\",\"id\":\"$id\",\"aid\":\"0\",\"net\":\"ws\",\"type\":\"none\",\"host\":\"\",\"path\":\"/ws\",\"tls\":\"none\"}" | base64 | tr -d '\n')" local link="vmess://$(echo -n "{\"v\":\"2\",\"ps\":\"$outbound_ip\",\"add\":\"$outbound_ip\",\"port\":\"$port\",\"id\":\"$id\",\"aid\":\"0\",\"net\":\"ws\",\"type\":\"none\",\"host\":\"\",\"path\":\"/ws\",\"tls\":\"none\"}" | base64 | tr -d '\n')"
echo -e "端口: $port, 节点链接: \033[32m $link \033[0m" echo -e "端口: $port, 节点链接: \033[32m$link\033[0m"
} }
configure_xray() { configure_xray() {