From fcef0c6b96dc2273e34e6211ab95bd94ef8df618 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Mon, 4 May 2026 20:57:35 +0100 Subject: [PATCH] fix: S3 --- .../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 f0b548ab..d9ef01ab 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 {