From 00a091c80709709170aa4488b2eb233c06a4b1d0 Mon Sep 17 00:00:00 2001 From: Skywalker8510 <91810623+Skywalker8510@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:03:15 -0500 Subject: [PATCH] fixed an oops --- confetti-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confetti-cli/src/main.rs b/confetti-cli/src/main.rs index d077915..9fab98c 100644 --- a/confetti-cli/src/main.rs +++ b/confetti-cli/src/main.rs @@ -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();