fix: cleanup app data

This commit is contained in:
Jose Diaz-Gonzalez
2022-11-24 00:51:21 -05:00
parent ff9005dd0e
commit 39beb8894f

View File

@@ -11,6 +11,7 @@ trigger-nginx-vhosts-post-delete() {
fn-plugin-property-destroy "nginx" "$APP"
restart_nginx "$@" >/dev/null
rm -rf "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP"
}
trigger-nginx-vhosts-post-delete "$@"