From 9cd41884cd19cbae5fc08fb8e8518352212cbb64 Mon Sep 17 00:00:00 2001 From: Den Piligrim <89912505+vasiljevdenis@users.noreply.github.com> Date: Tue, 23 Dec 2025 15:58:09 +0300 Subject: [PATCH] fix url --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d6fbd0e..2504411 100644 --- a/install.sh +++ b/install.sh @@ -47,7 +47,7 @@ echo "" get_xui_url() { local output=$(x-ui settings 2>/dev/null) - echo "$output" | grep -oE 'https?://[^ ]+' | head -n1 + echo "$output" | sed 's/\x1b\[[0-9;]*m//g' | grep "Access URL:" | grep -oE 'https?://[^[:space:]]+' | head -n1 } echo "Определяем URL панели 3x-ui..."