The URLS file is no longer necessary as urls are now generated directly from the app VHOST file. This also moves all the url generation logic to the domains plugin.
16 lines
336 B
Bash
Executable File
16 lines
336 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
cmd-urls() {
|
|
declare desc="reports dokku vitals for troubleshooting"
|
|
declare cmd="url"
|
|
declare URL_TYPE="$1" APP="$2"
|
|
|
|
verify_app_name "$APP"
|
|
plugn trigger domains-urls "$APP" "$URL_TYPE"
|
|
}
|
|
|
|
cmd-urls "$@"
|