mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated nodejs with SeaweedFS (markdown)
parent
32bb5b293a
commit
581c3a8949
|
@ -20,7 +20,7 @@ const s3client = new S3Client({
|
||||||
region: `us-east-1`,
|
region: `us-east-1`,
|
||||||
// force path style for compatibility reasons
|
// force path style for compatibility reasons
|
||||||
forcePathStyle: true,
|
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: {
|
credentials: {
|
||||||
accessKeyId: `same as -accesskey`,
|
accessKeyId: `same as -accesskey`,
|
||||||
secretAccessKey: `same as -secretkey`,
|
secretAccessKey: `same as -secretkey`,
|
||||||
|
|
Loading…
Reference in a new issue