change rust lib port

This commit is contained in:
Face
2025-09-07 20:11:28 +03:00
parent b4e151e79f
commit 07deaaa130
3 changed files with 1 additions and 8 deletions

View File

@@ -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))