fix: S3
This commit is contained in:
parent
17f3158a3b
commit
fcef0c6b96
1 changed files with 4 additions and 1 deletions
|
|
@ -112,7 +112,10 @@ export class EnvironmentService {
|
||||||
}
|
}
|
||||||
|
|
||||||
getAwsS3ForcePathStyle(): boolean {
|
getAwsS3ForcePathStyle(): boolean {
|
||||||
return this.configService.get<boolean>('AWS_S3_FORCE_PATH_STYLE');
|
const forcePathStyle = this.configService
|
||||||
|
.get<string>('AWS_S3_FORCE_PATH_STYLE', 'false')
|
||||||
|
.toLowerCase();
|
||||||
|
return forcePathStyle === 'true';
|
||||||
}
|
}
|
||||||
|
|
||||||
getAwsS3Url(): string {
|
getAwsS3Url(): string {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue