Display the port for an app when falling back to the ip address.

This commit is contained in:
Andrew Starr-Bochicchio
2014-12-17 21:20:18 -05:00
parent f1bfb3ed3a
commit 294b419da5

View File

@@ -75,7 +75,7 @@ case "$1" in
elif [[ -f "$DOKKU_ROOT/VHOST" ]]; then
echo "$SCHEME://$(< "$DOKKU_ROOT/VHOST")"
else
echo "$SCHEME://$(< "$DOKKU_ROOT/HOSTNAME")"
echo "$SCHEME://$(< "$DOKKU_ROOT/HOSTNAME"):$(< "$DOKKU_ROOT/$APP/PORT")"
fi
;;