mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 08:11:20 +00:00
Fix comment.
This commit is contained in:
parent
c692741be4
commit
e22909697b
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ pub fn build_url_str_without_scheme(url_str: &str) -> LemmyResult<String> {
|
||||||
}
|
}
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
// Set the scheme to https, then remove the http:// part
|
// Set the scheme to http, then remove the http:// part
|
||||||
url
|
url
|
||||||
.set_scheme("http")
|
.set_scheme("http")
|
||||||
.map_err(|_| LemmyErrorType::InvalidUrl)?;
|
.map_err(|_| LemmyErrorType::InvalidUrl)?;
|
||||||
|
|
Loading…
Reference in a new issue