change rust lib port
This commit is contained in:
@@ -60,14 +60,12 @@ impl GurtCAClient {
|
||||
}
|
||||
|
||||
async fn test_connection(&self) -> Result<()> {
|
||||
// Try a simple request to test if connection works
|
||||
let _response = self.gurt_client
|
||||
.get(&format!("{}/ca/root", self.ca_url))
|
||||
.await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
pub async fn verify_domain_exists(&self, domain: &str) -> Result<bool> {
|
||||
let response = self.gurt_client
|
||||
.get(&format!("{}/verify-ownership/{}", self.ca_url, domain))
|
||||
|
||||
Reference in New Issue
Block a user