Skip to content

Commit d2d9427

Browse files
committed
fix region
1 parent 671bcae commit d2d9427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FormPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ function FormPage() {
802802
const client = new S3Client({
803803
endpoint: formData.s3url,
804804
forcePathStyle: true, // Required for some non-AWS S3 providers to make bucket part of path
805-
region: "es-east-1",
805+
region: "us-east-1", // can be anything but empty ("" not ok)
806806
credentials: {
807807
accessKeyId: formData.s3accesskey,
808808
secretAccessKey: formData.s3secretkey,
@@ -813,7 +813,7 @@ function FormPage() {
813813
Bucket: formData.s3bucket,
814814
});
815815
try {
816-
await client.send(command); // Attempt to list objects
816+
await client.send(command);
817817
return true;
818818
} catch (error) {
819819
return false;

0 commit comments

Comments
 (0)