diff --git a/crates/ptth_relay/src/scraper_api.rs b/crates/ptth_relay/src/scraper_api.rs index 1aaed62..779c4a6 100644 --- a/crates/ptth_relay/src/scraper_api.rs +++ b/crates/ptth_relay/src/scraper_api.rs @@ -295,6 +295,7 @@ mod tests { scraper_keys: Some (vec! [ self.valid_key.map (|x| key_validity::ScraperKey::new_30_day ("automated test", x.as_bytes ())), ].into_iter ().filter_map (|x| x).collect ()), + news_url: None, }; let config = config::Config::try_from (config_file).expect ("Can't load config"); diff --git a/crates/ptth_server/src/lib.rs b/crates/ptth_server/src/lib.rs index 10ef157..0e20307 100644 --- a/crates/ptth_server/src/lib.rs +++ b/crates/ptth_server/src/lib.rs @@ -4,7 +4,7 @@ //! behind a firewall, because it only makes outgoing HTTP connections //! to a PTTH relay. //! -//! ``` +//! ```text //! View from outside the PTTH tunnel: //! //! * HTTP client diff --git a/src/main.rs b/src/main.rs index 0067e7c..9004eb5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,6 +42,7 @@ async fn main () -> anyhow::Result <()> { }, ]), scraper_keys: None, + news_url: None, }; let config = ptth_relay::config::Config::try_from (config_file).expect ("Can't load config"); diff --git a/src/tests.rs b/src/tests.rs index e655891..62a09da 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -110,6 +110,7 @@ impl TestingRelay { }, ]), scraper_keys: None, + news_url: None, }; let cfg = config::Config::try_from (config_file).expect ("Can't load config"); @@ -282,6 +283,7 @@ async fn scraper_endpoints () { scraper_keys: Some (vec! [ key_validity::ScraperKey::new_30_day ("automated testing", b"bogus") ]), + news_url: None, }; let config = config::Config::try_from (config_file).expect ("Can't load config");