Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
dropout1337 committed Sep 5, 2024
1 parent a8a9891 commit bb19508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hcaptcha/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl HCaptcha {
}

pub async fn download_contents(&self, url: &str, file: &str, path: &Path) -> Result<()> {
let url_path = format!("{}/{}", url, file);
let url_path = format!("https://newassets.hcaptcha.com{}/{}", url, file);
let response = self.client.get(&url_path)
.send()
.await
Expand Down

0 comments on commit bb19508

Please sign in to comment.