Skip to content

Commit

Permalink
[fix]: support https URL scheme in config (#4600)
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Veršić <[email protected]>
  • Loading branch information
mversic authored May 16, 2024
1 parent ca37b7f commit 5f1f5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 5f1f5b8

Please sign in to comment.