Skip to content

Commit

Permalink
Merge pull request #58 from Nearblocks/fix/indexer
Browse files Browse the repository at this point in the history
fix(indexer): use s3ForcePathStyle with s3Endpoint
  • Loading branch information
andrewklau authored Dec 6, 2023
2 parents c611d9d + fb84cf0 commit e505a8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/indexer-balance/src/services/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const lakeConfig: types.LakeConfig = {
};

if (config.s3Endpoint) {
lakeConfig.s3ForcePathStyle = true;
lakeConfig.s3Endpoint = config.s3Endpoint;
}

Expand Down
1 change: 1 addition & 0 deletions apps/indexer-base/src/services/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const lakeConfig: types.LakeConfig = {
};

if (config.s3Endpoint) {
lakeConfig.s3ForcePathStyle = true;
lakeConfig.s3Endpoint = config.s3Endpoint;
}

Expand Down
1 change: 1 addition & 0 deletions apps/indexer-events/src/services/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const lakeConfig: types.LakeConfig = {
};

if (config.s3Endpoint) {
lakeConfig.s3ForcePathStyle = true;
lakeConfig.s3Endpoint = config.s3Endpoint;
}

Expand Down

0 comments on commit e505a8a

Please sign in to comment.