Merge pull request #2229 from vshn/fix_slash_domain_removal
Fix removal of domains with schema
This commit is contained in:
@@ -92,7 +92,7 @@ domains_remove() {
|
||||
shift 1
|
||||
|
||||
for DOMAIN in "$@"; do
|
||||
sed -i "/^$DOMAIN$/d" "$DOKKU_ROOT/$APP/VHOST"
|
||||
sed -i "\|^$DOMAIN\$|d" "$DOKKU_ROOT/$APP/VHOST"
|
||||
dokku_log_info1 "Removed $DOMAIN from $APP"
|
||||
done
|
||||
plugn trigger post-domains-update "$APP" "remove" "$@"
|
||||
|
||||
Reference in New Issue
Block a user