From 0865ff3f793bacb02a377cb996fb1a390226be91 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 11 Dec 2014 02:16:52 -0500 Subject: [PATCH] Use updated VHOST file instead of URL file when outputting the current URL to an app Note that this may include more than one URL to an app --- plugins/00_dokku-standard/commands | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/00_dokku-standard/commands b/plugins/00_dokku-standard/commands index 7fd4f9476..3cfc15fb1 100755 --- a/plugins/00_dokku-standard/commands +++ b/plugins/00_dokku-standard/commands @@ -39,8 +39,8 @@ case "$1" in [[ ! -d "$DOKKU_ROOT/$2" ]] && echo "App $2 does not exist" && exit 1 APP="$2"; - if [[ -f "$DOKKU_ROOT/$APP/URL" ]]; then - echo $(< "$DOKKU_ROOT/$APP/URL") + if [[ -f "$DOKKU_ROOT/$APP/VHOST" ]]; then + echo $(< "$DOKKU_ROOT/$APP/VHOST") fi ;;