update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
S3_ACCESS_KEY_ID=your_access_key_id
|
||||
S3_SECRET_ACCESS_KEY=your_secret_access_key
|
||||
S3_ACCESS_KEY_SECRET=your_secret_access_key
|
||||
S3_REGION=your_region
|
||||
S3_BUCKET_NAME=your_bucket_name
|
||||
S3_ENDPOINT=your_endpoint
|
||||
|
||||
@@ -6,7 +6,7 @@ import { S3Client, ListObjectsV2Command, GetBucketMetadataConfigurationCommand,
|
||||
export const s3Client = new S3Client({
|
||||
credentials: {
|
||||
accessKeyId: process.env.S3_ACCESS_KEY_ID || '',
|
||||
secretAccessKey: process.env.S3_SECRET_ACCESS_KEY || '',
|
||||
secretAccessKey: process.env.S3_ACCESS_KEY_SECRET || '',
|
||||
},
|
||||
region: process.env.S3_REGION,
|
||||
endpoint: 'https://tos-s3-cn-shanghai.volces.com',
|
||||
|
||||
Reference in New Issue
Block a user