From 5af42dc678908881e6d6a3a8fda6b6f61f51af81 Mon Sep 17 00:00:00 2001 From: Domonkos Czinke Date: Tue, 5 Jul 2016 21:53:54 +0200 Subject: [PATCH] url command should return https if it's configured --- plugins/common/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/common/functions b/plugins/common/functions index b7e586381..2781e0604 100755 --- a/plugins/common/functions +++ b/plugins/common/functions @@ -1015,7 +1015,7 @@ get_app_urls() { local URLS="$(merge_dedupe_list "$port_urls $app_urls" " ")" case "$1" in url) - echo "$URLS" | tr ' ' '\n' | head -n1 + echo "$URLS" | tr ' ' '\n' | tail -1 ;; urls) echo "$URLS" | tr ' ' '\n' | sort