diff --git a/scripts/config b/scripts/config index d3258a8..4c0f42f 100644 --- a/scripts/config +++ b/scripts/config @@ -74,7 +74,7 @@ set__dns_over_https() { fi # save the new setting in the AGH config file - ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="tls>enabled" --value="$dns_over_https" + ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="enabled" --after="tls" --value="$dns_over_https" # save the new setting in YNH ynh_app_setting_set --app="$app" --key=dns_over_https --value="$dns_over_https"