Skip to content

Commit

Permalink
Update gemini/src/ca/client.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
wujian0327 and Copilot authored Feb 26, 2025
1 parent 3f605f8 commit e51f746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gemini/src/ca/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub async fn get_ca_cert_from_ca(ca: String) -> Result<String> {
}

fn add_http_to_url(url: String) -> String {
if url.starts_with("http://") {
if url.starts_with("http://") || url.starts_with("https://") {
return url;
}

Expand Down

0 comments on commit e51f746

Please sign in to comment.