Skip to content

Commit 3470d0f

Browse files
authored
feat: s3 module fixes for Cloudflare R2
1 parent e9a0e5e commit 3470d0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/modules/s3/s3.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export class S3Service {
1111
#S3PublicUrl = this.configService.get<string>('S3_PUBLIC_URL');
1212
#bucketName = this.configService.get<string>('S3_BUCKET_NAME');
1313
private readonly client = new S3Client({
14+
endpoint: this.configService.get<string>('S3_ENDPOINT'),
1415
region: this.configService.get<string>('S3_REGION'),
1516
credentials: {
1617
accessKeyId: this.configService.get<string>('S3_ACCESS_KEY'),

0 commit comments

Comments
 (0)