From c77d5bf8086c19329d4e8b5a781485a208840cac Mon Sep 17 00:00:00 2001 From: Oguz Ozturk Date: Tue, 24 Dec 2024 12:19:08 +0300 Subject: [PATCH] . Signed-off-by: Oguz Ozturk --- docker/etc/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/etc/entrypoint.sh b/docker/etc/entrypoint.sh index f3aac05bc74..9ca4ffb810d 100644 --- a/docker/etc/entrypoint.sh +++ b/docker/etc/entrypoint.sh @@ -69,9 +69,9 @@ EOF # Print info echo -e "\033[32m-------------------------------------------------------------------------\033[0m" - echo -e "\033[32mBrowser interface available at local address http://$(hostname -I | cut -d' ' -f1):6080/vnc.html?resize=scale&password=openadkit\033[0m" - [ -z "$NGROK_AUTHTOKEN" ] && echo -e "\033[32mIf you have a static public ip you can access it on WEB at http://$(curl -s ifconfig.me):6080/vnc.html?resize=scale&password=openadkit\033[0m" - [ -n "$NGROK_AUTHTOKEN" ] && echo -e "\033[32mBrowser interface available at WEB address $NGROK_URL/vnc.html?resize=scale&password=openadkit\033[0m" + echo -e "\033[32mBrowser interface available at local address http://$(hostname -I | cut -d' ' -f1):6080/vnc.html?resize=scale&password=openadkit&autoconnect=true\033[0m" + [ -z "$NGROK_AUTHTOKEN" ] && echo -e "\033[32mIf you have a static public ip you can access it on WEB at http://$(curl -s ifconfig.me):6080/vnc.html?resize=scale&password=openadkit&autoconnect=true\033[0m" + [ -n "$NGROK_AUTHTOKEN" ] && echo -e "\033[32mBrowser interface available at WEB address $NGROK_URL/vnc.html?resize=scale&password=openadkit&autoconnect=true\033[0m" echo -e "\033[32m-------------------------------------------------------------------------\033[0m" }