fix(install.sh): use IPV4_PUBLIC_IP variable in output instead of repeated curl

This commit is contained in:
Diego Rodríguez
2025-07-04 15:16:01 +02:00
committed by GitHub
parent 6cc338b7a6
commit 2733aeb092

View File

@@ -844,7 +844,7 @@ IPV6_PUBLIC_IP=$(curl -6s https://ifconfig.io || true)
echo -e "\nYour instance is ready to use!\n"
if [ -n "$IPV4_PUBLIC_IP" ]; then
echo -e "You can access Coolify through your Public IPV4: http://$(curl -4s https://ifconfig.io):8000"
echo -e "You can access Coolify through your Public IPV4: http://[$IPV4_PUBLIC_IP]:8000"
fi
if [ -n "$IPV6_PUBLIC_IP" ]; then
echo -e "You can access Coolify through your Public IPv6: http://[$IPV6_PUBLIC_IP]:8000"