From 8fe5e16c504aaf65372d4632c8c08ec15e2681c9 Mon Sep 17 00:00:00 2001 From: joe-prosser Date: Tue, 15 Oct 2024 11:49:49 +0100 Subject: [PATCH] chore(cli): reinfer.io -> reinfer.dev (#326) --- CHANGELOG.md | 3 +++ api/src/lib.rs | 2 +- cli/src/commands/mod.rs | 2 +- cli/src/main.rs | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5d5dff..38560f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# Unreleased +- update `reinfer.io` urls to `reinfer.dev` + # v0.34.0 - Round trip `field_id` - Add `ixp` dataset flag diff --git a/api/src/lib.rs b/api/src/lib.rs index f4fffa3..ad091ae 100644 --- a/api/src/lib.rs +++ b/api/src/lib.rs @@ -2304,7 +2304,7 @@ fn id_list_query<'a>(ids: impl Iterator) -> Vec<(&'static str } pub static DEFAULT_ENDPOINT: Lazy = - Lazy::new(|| Url::parse("https://reinfer.io").expect("Default URL is well-formed")); + Lazy::new(|| Url::parse("https://reinfer.dev").expect("Default URL is well-formed")); #[cfg(test)] mod tests { diff --git a/cli/src/commands/mod.rs b/cli/src/commands/mod.rs index c04d697..6bff103 100644 --- a/cli/src/commands/mod.rs +++ b/cli/src/commands/mod.rs @@ -22,7 +22,7 @@ pub fn ensure_uip_user_consents_to_ai_unit_charge(base_url: &Url) -> Result<()> .origin() .ascii_serialization() .to_lowercase() - .ends_with("reinfer.io") + .ends_with("reinfer.dev") { return Ok(()); } diff --git a/cli/src/main.rs b/cli/src/main.rs index 3d4e79f..e98938d 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -148,7 +148,7 @@ fn client_from_args(args: &Args, config: &ReinferConfig) -> Result { Ok(client) } -const DOMAINS_THAT_REQUIRE_CONTEXT: [&str; 2] = ["uipath.com", "reinfer.io"]; +const DOMAINS_THAT_REQUIRE_CONTEXT: [&str; 2] = ["uipath.com", "reinfer.dev"]; fn check_if_context_is_a_required_field( config: &ReinferConfig,