Update xray.sh

This commit is contained in:
NewName
2024-03-27 19:12:56 +08:00
parent b378beb9b2
commit 5bce1dd3a6

View File

@@ -78,7 +78,7 @@ EOF
show_inbound_config() {
local ip=$(curl -s http://ipinfo.io/ip)
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\":\"TK节点定制\",\"add\":\"$ip\",\"port\":$PORT,\"id\":\"$UUID\",\"aid\":\"0\",\"net\":\"ws\",\"path\":\"/$RANDOM_PATH\",\"type\":\"none\",\"host\":\"\",\"tls\":\"\"}" | base64 -w 0)"
}
create_config