We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 671bcae commit d2d9427Copy full SHA for d2d9427
src/FormPage.jsx
@@ -802,7 +802,7 @@ function FormPage() {
802
const client = new S3Client({
803
endpoint: formData.s3url,
804
forcePathStyle: true, // Required for some non-AWS S3 providers to make bucket part of path
805
- region: "es-east-1",
+ region: "us-east-1", // can be anything but empty ("" not ok)
806
credentials: {
807
accessKeyId: formData.s3accesskey,
808
secretAccessKey: formData.s3secretkey,
@@ -813,7 +813,7 @@ function FormPage() {
813
Bucket: formData.s3bucket,
814
});
815
try {
816
- await client.send(command); // Attempt to list objects
+ await client.send(command);
817
return true;
818
} catch (error) {
819
return false;
0 commit comments