mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
fix
This commit is contained in:
parent
815c087270
commit
a46953854d
1 changed files with 2 additions and 2 deletions
|
@ -99,9 +99,9 @@ with open(\"$install_dir/AdGuardHome.yaml\", 'r') as file:
|
|||
conf_file[\"dns\"][\"bind_hosts\"] = []
|
||||
|
||||
for ip in \"$ipv4_addr\":
|
||||
conf_file[\"dns\"][\"bind_hosts\"].append(\"ip\")
|
||||
conf_file[\"dns\"][\"bind_hosts\"].append(ip)
|
||||
for ip in \"$ipv6_addr\":
|
||||
conf_file[\"dns\"][\"bind_hosts\"].append(\"ip\")
|
||||
conf_file[\"dns\"][\"bind_hosts\"].append(ip)
|
||||
|
||||
with open(\"$install_dir/AdGuardHome.yaml\", 'w') as file:
|
||||
yaml.dump(conf_file, file)
|
||||
|
|
Loading…
Add table
Reference in a new issue