fix: added env variable for support for forcepathstyle on s3 (#181)

This commit is contained in:
sidnelui-krystal
2024-08-20 20:05:59 +08:00
committed by GitHub
parent 463480ae67
commit c810d0b314
3 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,10 @@ export class EnvironmentService {
getAwsS3Endpoint(): string {
return this.configService.get<string>('AWS_S3_ENDPOINT');
}
getAwsS3ForcePathStyle(): boolean {
return this.configService.get<boolean>('AWS_S3_FORCE_PATH_STYLE')
}
getAwsS3Url(): string {
return this.configService.get<string>('AWS_S3_URL');