From e22909697b81bdb773a134b3c32d668685d1d598 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 22 Apr 2024 13:51:09 -0400 Subject: [PATCH] Fix comment. --- crates/utils/src/utils/validation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/utils/src/utils/validation.rs b/crates/utils/src/utils/validation.rs index 9d68d1820..786b01006 100644 --- a/crates/utils/src/utils/validation.rs +++ b/crates/utils/src/utils/validation.rs @@ -330,7 +330,7 @@ pub fn build_url_str_without_scheme(url_str: &str) -> LemmyResult { } })?; - // Set the scheme to https, then remove the http:// part + // Set the scheme to http, then remove the http:// part url .set_scheme("http") .map_err(|_| LemmyErrorType::InvalidUrl)?;