Skip to content

Commit

Permalink
chore(cli): reinfer.io -> reinfer.dev (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-prosser authored Oct 15, 2024
1 parent d6fc84c commit 8fe5e16
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Unreleased
- update `reinfer.io` urls to `reinfer.dev`

# v0.34.0
- Round trip `field_id`
- Add `ixp` dataset flag
Expand Down
2 changes: 1 addition & 1 deletion api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,7 @@ fn id_list_query<'a>(ids: impl Iterator<Item = &'a String>) -> Vec<(&'static str
}

pub static DEFAULT_ENDPOINT: Lazy<Url> =
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 {
Expand Down
2 changes: 1 addition & 1 deletion cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(());
}
Expand Down
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn client_from_args(args: &Args, config: &ReinferConfig) -> Result<Client> {
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,
Expand Down

0 comments on commit 8fe5e16

Please sign in to comment.