Skip to content

Commit

Permalink
fix: use internal endpoint for s3 provision (#1318)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed Nov 13, 2024
1 parent 742c4ba commit 357589c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/s3-util/src/provision.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub async fn provision(
let s3_config = &config.server().map_err(ProvisionError::Global)?.s3;
let client = Client::new(
"",
&s3_config.endpoint_external.to_string(),
&s3_config.endpoint_internal.to_string(),
&s3_config.region,
&*s3_config.access_key_id.read(),
&*s3_config.secret_access_key.read(),
Expand Down

0 comments on commit 357589c

Please sign in to comment.