From f25cebce8c9c1b0715611dfa6b84e118f512e189 Mon Sep 17 00:00:00 2001 From: RinRinPARK Date: Wed, 2 Oct 2024 22:33:19 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20S3=20jpeg=20=ED=97=88=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/swm_standard/phote/external/aws/S3Service.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/swm_standard/phote/external/aws/S3Service.kt b/src/main/kotlin/com/swm_standard/phote/external/aws/S3Service.kt index 0dd9d7f..0bd20b4 100644 --- a/src/main/kotlin/com/swm_standard/phote/external/aws/S3Service.kt +++ b/src/main/kotlin/com/swm_standard/phote/external/aws/S3Service.kt @@ -74,7 +74,7 @@ class S3Service( class FileValidate { companion object { - private val IMAGE_EXTENSIONS: List = listOf("jpg", "png", "gif", "webp") + private val IMAGE_EXTENSIONS: List = listOf("jpg", "png", "gif", "webp", "jpeg") fun checkImageFormat(fileName: String) { val extensionIndex = fileName.lastIndexOf('.')