From 5f1f5b8b466e2857d1dcb48bab7f25048e7f937d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Ver=C5=A1i=C4=87?= Date: Thu, 16 May 2024 11:34:29 +0200 Subject: [PATCH] [fix]: support https URL scheme in config (#4600) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marin Veršić --- config/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/client.rs b/config/src/client.rs index 312bb2a1737..12f43c02439 100644 --- a/config/src/client.rs +++ b/config/src/client.rs @@ -144,7 +144,7 @@ impl ConfigurationProxy { } } if let Some(api_url) = &self.torii_api_url { - if api_url.scheme() != "http" { + if api_url.scheme() != "http" && api_url.scheme() != "https" { eyre::bail!(ConfigError::InsaneValue { field: "TORII_API_URL", value: api_url.to_string(),