This commit is contained in:
2026-01-08 15:39:28 +08:00
parent 1c6c045666
commit 0443ecdad3
2 changed files with 2 additions and 2 deletions

View File

@@ -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',