diff --git a/README.md b/README.md index 2649fe5..b7666fd 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,6 @@ 3. **Build and start the container** ```bash - docker compose build docker compose up -d ``` 4. **Check logs to verify updates** diff --git a/blocklist_scheduler.py b/blocklist_scheduler.py index 12e6199..15333e8 100644 --- a/blocklist_scheduler.py +++ b/blocklist_scheduler.py @@ -84,7 +84,7 @@ def update_yaml_with_ips(ips): logging.error(f"Failed to parse YAML file {ADGUARD_YAML}") return False - data['disallowed_clients'] = ips + data['dns']['disallowed_clients'] = ips with TMP_YAML.open('w') as f: yaml.safe_dump(data, f)