diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/hooks/url.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/url.rs b/src/hooks/url.rs index 7b8a188..68caea2 100644 --- a/src/hooks/url.rs +++ b/src/hooks/url.rs @@ -14,7 +14,7 @@ pub fn url_parser(msg: &str) -> Vec<String> { url_regex .find_iter(msg) - .map(|u| u.as_str().to_string().replace("www.", "https://www.")) + .map(|u| u.as_str().to_string().replace("www.", "https://")) .collect::<Vec<String>>() } |
