mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Fix comment misspelling
This commit is contained in:
parent
937e9a2fdc
commit
6e01e9e8a7
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ pub async fn parse_url(
|
|||
let old_url_regex = Regex::new(r"https?://(www\.)?crunchyroll\.com/.+").unwrap();
|
||||
if old_url_regex.is_match(&url) {
|
||||
debug!("Detected maybe old url");
|
||||
// replace the 'http' prefix with 'https' as https is not supported by the reqwest client
|
||||
// replace the 'http' prefix with 'https' as http is not supported by the reqwest client
|
||||
if url.starts_with("http://") {
|
||||
url.replace_range(0..4, "https")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue