1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00

save the new setting in the AGH config file

This commit is contained in:
OniriCorpe 2023-12-31 23:33:02 +01:00
parent b38a6a44e6
commit 6b190a3a94

View file

@ -77,7 +77,10 @@ set__dns_over_https() {
ynh_print_warn --message="The variable 'dns_over_https' should be 'true' or 'false' but isn't, please report this."
fi
# save the new setting
# 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"
# save the new setting in YNH
ynh_app_setting_set --app="$app" --key=dns_over_https --value="$dns_over_https"
}