Skip to content

Commit eac4ee6

Browse files
committed
Fix
1 parent 62a0acb commit eac4ee6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Elastic.Documentation.LinkIndex/LinkIndexProvider.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ public class AwsS3LinkIndexProvider(IAmazonS3 s3Client, string bucketName = "ela
2323
public static AwsS3LinkIndexProvider CreateAnonymous()
2424
{
2525
var credentials = new AnonymousAWSCredentials();
26-
var s3Client = new AmazonS3Client(credentials);
26+
var config = new AmazonS3Config
27+
{
28+
RegionEndpoint = Amazon.RegionEndpoint.USEast2
29+
};
30+
var s3Client = new AmazonS3Client(credentials, config);
2731
return new AwsS3LinkIndexProvider(s3Client);
2832
}
2933

0 commit comments

Comments
 (0)