Update xray.sh

This commit is contained in:
NewName
2024-04-11 01:12:37 +08:00
parent 6a24603ded
commit 274a7f7e9a

View File

@@ -76,7 +76,7 @@ EOF
show_inbound_config() { show_inbound_config() {
local ip=$(curl -s http://ipinfo.io/ip) local ip=$(curl -s http://ipinfo.io/ip)
echo -e "${green}Vmess 节点链接:${none}" echo -e "${green}Vmess 节点链接:${none}"
echo "vmess://$(echo -n "{\"v\":\"2\",\"ps\":\"TK节点定制\",\"add\":\"$ip\",\"port\":$PORT,\"id\":\"$UUID\",\"aid\":\"0\",\"net\":\"ws\",\"path\":\"/$RANDOM_PATH\",\"type\":\"none\",\"host\":\"\",\"tls\":\"\"}" | base64 -w 0)" echo "vmess://$(echo -n "{\"v\":\"2\",\"ps\":\"vmess+ws\",\"add\":\"$ip\",\"port\":$PORT,\"id\":\"$UUID\",\"aid\":\"0\",\"net\":\"ws\",\"path\":\"/$RANDOM_PATH\",\"type\":\"none\",\"host\":\"\",\"tls\":\"\"}" | base64 -w 0)"
} }
create_config create_config