diff options
| author | Paul Buetow <paul@buetow.org> | 2026-08-02 18:42:02 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-08-02 18:42:02 +0300 |
| commit | 76e151fc9141ef3ccbafc22c62985a30afb54b02 (patch) | |
| tree | 9570fc8c9f8479e7a43c9a4d5cd21c4d8b56e91b /internal/config | |
| parent | ab0953b56309206617be8a4e0669532a5885b619 (diff) | |
Add WireGuard fallback for mirror sync
Amp-Thread-ID: https://ampcode.com/threads/T-019fc31d-668a-769a-8dc8-554ecbd6a274
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index d2042f5..0423be2 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -29,6 +29,7 @@ type Config struct { // SyncTargets are the remote hostnames to rsync to when Sync is true. // Defaults to ["pi0.lan.buetow.org", "pi1.lan.buetow.org"]. + // The default targets fall back to pi0.wg0 and pi1.wg0 when unreachable. // Override with SNONUX_SYNC_TARGETS env var (comma-separated). SyncTargets []string |
