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
This commit is contained in:
1 parent
11b126a845
commit
0865ff3f79
1 file changed
+2
-2
@@ -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
|
||||
;;
|
||||
|
||||
|
||||
Reference in new issue
Block a user