fixed an oops

This commit is contained in:
Skywalker8510 2025-03-10 18:03:15 -05:00
parent 625ec3640e
commit 00a091c807

View file

@ -305,7 +305,7 @@ async fn main() -> Result<()> {
url
};
if !url.starts_with("https://") || !url.starts_with("http://") {
if !url.starts_with("https://") && !url.starts_with("http://") {
config.url = ("https://".to_owned() + url).to_string();
} else {
config.url = url.to_string();