mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-28 05:41:34 +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
|
||||
.set_scheme("http")
|
||||
.map_err(|_| LemmyErrorType::InvalidUrl)?;
|
||||
|
|
Loading…
Reference in a new issue