Updated nodejs with SeaweedFS (markdown)

Ignatiev Mikhail 2022-09-07 12:58:53 +03:00
parent 32bb5b293a
commit 581c3a8949

@ -20,7 +20,7 @@ const s3client = new S3Client({
region: `us-east-1`,
// force path style for compatibility reasons
forcePathStyle: true,
// credentials should be provided if you enabled them with `s3.configure`, otherwise client will be treated as anonymous
// credentials is mandatory and s3 authorization should be enabled with `s3.configure`
credentials: {
accessKeyId: `same as -accesskey`,
secretAccessKey: `same as -secretkey`,