Merge pull request #2229 from vshn/fix_slash_domain_removal
Fix removal of domains with schema
This commit is contained in:
commit
5ff73995f2
1 file changed
+1
-1
@@ -92,7 +92,7 @@ domains_remove() {
|
|||||||
shift 1
|
shift 1
|
||||||
|
|
||||||
for DOMAIN in "$@"; do
|
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"
|
dokku_log_info1 "Removed $DOMAIN from $APP"
|
||||||
done
|
done
|
||||||
plugn trigger post-domains-update "$APP" "remove" "$@"
|
plugn trigger post-domains-update "$APP" "remove" "$@"
|
||||||
|
|||||||
Reference in new issue
Block a user