From ac496061ccb88ab341a21a0b956240ef67375e93 Mon Sep 17 00:00:00 2001 From: psykose Date: Mon, 18 Nov 2024 18:15:42 +0100 Subject: [PATCH] https --- src/subsonic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subsonic.rs b/src/subsonic.rs index 1f3d1ef..b1b9fd2 100644 --- a/src/subsonic.rs +++ b/src/subsonic.rs @@ -101,8 +101,8 @@ impl Client { ) .map_err(Error::UrlParseError)?; - if base_url.scheme() != "http" && base_url.scheme() != "https" { - return Err(Error::OtherError("url scheme is not HTTP(s)")); + if base_url.scheme() != "https" { + return Err(Error::OtherError("url scheme is not HTTPS")); } Ok(Client {