From 184811911ffbf66c4c353b7d2cafea778ed952cb Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sat, 2 May 2026 11:21:42 +0100 Subject: [PATCH] fix: parse AWS_S3_FORCE_PATH_STYLE env var as boolean --- .../src/integrations/environment/environment.service.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/server/src/integrations/environment/environment.service.ts b/apps/server/src/integrations/environment/environment.service.ts index af35e934..e0dd5f5f 100644 --- a/apps/server/src/integrations/environment/environment.service.ts +++ b/apps/server/src/integrations/environment/environment.service.ts @@ -112,7 +112,10 @@ export class EnvironmentService { } getAwsS3ForcePathStyle(): boolean { - return this.configService.get('AWS_S3_FORCE_PATH_STYLE'); + const forcePathStyle = this.configService + .get('AWS_S3_FORCE_PATH_STYLE', 'false') + .toLowerCase(); + return forcePathStyle === 'true'; } getAwsS3Url(): string {