Skip to content

Commit

Permalink
editoast: openfga port is none if value is 80 or 443
Browse files Browse the repository at this point in the history
Signed-off-by: bloussou <[email protected]>
  • Loading branch information
bloussou committed Mar 6, 2025
1 parent 8501812 commit 7d6c72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editoast/src/views/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ impl OpenfgaConfig {
.ok_or_else(|| anyhow::anyhow!("Configured OpenFGA URL doesn't have a host part"))?;
let port = self
.url
.port()
.port_or_known_default()
.ok_or_else(|| anyhow::anyhow!("Configured OpenFGA URL doesn't have a port part"))?;
Ok(fga::client::ConnectionSettings::new(
address.to_owned(),
Expand Down

0 comments on commit 7d6c72a

Please sign in to comment.