mirror of
https://github.com/Dangoware/confetti-box.git
synced 2025-04-19 23:32:58 -05:00
fixed an oops
This commit is contained in:
parent
625ec3640e
commit
00a091c807
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ async fn main() -> Result<()> {
|
||||||
url
|
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();
|
config.url = ("https://".to_owned() + url).to_string();
|
||||||
} else {
|
} else {
|
||||||
config.url = url.to_string();
|
config.url = url.to_string();
|
||||||
|
|
Loading…
Reference in a new issue