From b77e5560c887542e0dae6960bc2d1cdd340e68af Mon Sep 17 00:00:00 2001 From: Den Piligrim <89912505+vasiljevdenis@users.noreply.github.com> Date: Sat, 3 Jan 2026 22:09:46 +0300 Subject: [PATCH] fix url --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 5e8bf52..96dbac6 100644 --- a/install.sh +++ b/install.sh @@ -63,6 +63,11 @@ echo "" ################################# # Function to get panel URL from 3x-ui get_xui_url() { + if [[ "$REMOTE_PANEL" == "true" ]]; then + echo "" + return + fi + local output=$(x-ui settings 2>/dev/null || true) echo "$output" | sed 's/\x1b\[[0-9;]*m//g' | grep "Access URL:" | grep -oE 'https?://[^[:space:]]+' | head -n1 || true