diff options
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 7834a3f..94035e4 100644 --- a/src/config.rs +++ b/src/config.rs | |||
| @@ -94,6 +94,8 @@ pub struct Config { | |||
| 94 | 94 | ||
| 95 | /// URL of bootstrap relay to sync from on startup (optional) | 95 | /// URL of bootstrap relay to sync from on startup (optional) |
| 96 | /// Sync discovers additional relays from repository announcements that list our service | 96 | /// Sync discovers additional relays from repository announcements that list our service |
| 97 | /// If no scheme is provided (wss:// or ws://), wss:// is assumed | ||
| 98 | /// Examples: "relay.example.com" -> "wss://relay.example.com", "wss://relay.example.com" -> unchanged | ||
| 97 | #[arg(long, env = "NGIT_SYNC_BOOTSTRAP_RELAY_URL")] | 99 | #[arg(long, env = "NGIT_SYNC_BOOTSTRAP_RELAY_URL")] |
| 98 | pub sync_bootstrap_relay_url: Option<String>, | 100 | pub sync_bootstrap_relay_url: Option<String>, |
| 99 | 101 | ||