From 31cc188bbdebb60606919d2c8373fc6c2cb89f98 Mon Sep 17 00:00:00 2001 From: YS <47836716+yszkst@users.noreply.github.com> Date: Sat, 25 Mar 2023 18:45:14 +0900 Subject: [PATCH] =?UTF-8?q?region=E3=81=8C=E7=A9=BA=E6=96=87=E5=AD=97?= =?UTF-8?q?=E5=88=97=E3=81=AE=E3=81=A8=E3=81=8D=E3=81=AFundefined=E3=81=A8?= =?UTF-8?q?=E3=81=99=E3=82=8B=20(#10410)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/S3Service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/S3Service.ts b/packages/backend/src/core/S3Service.ts index 629278d91..01ce12ffd 100644 --- a/packages/backend/src/core/S3Service.ts +++ b/packages/backend/src/core/S3Service.ts @@ -42,7 +42,7 @@ export class S3Service { accessKeyId: meta.objectStorageAccessKey, secretAccessKey: meta.objectStorageSecretKey, } : undefined, - region: meta.objectStorageRegion ?? undefined, + region: meta.objectStorageRegion ? meta.objectStorageRegion : undefined, // 空文字列もundefinedにするため ?? は使わない tls: meta.objectStorageUseSSL, forcePathStyle: meta.objectStorageEndpoint ? meta.objectStorageS3ForcePathStyle : false, // AWS with endPoint omitted requestHandler: new NodeHttpHandler(handlerOption),