From 429dc2b848a43ee1b1e2e33506c22463fe918741 Mon Sep 17 00:00:00 2001 From: Klaus Date: Mon, 5 Aug 2024 17:31:47 +0900 Subject: [PATCH] =?UTF-8?q?=ED=81=AC=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=20=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20-=20=EC=98=A4?= =?UTF-8?q?=EB=94=94=EC=98=A4=20=EC=97=85=EB=A1=9C=EB=93=9C=20=EB=B2=84?= =?UTF-8?q?=ED=82=B7=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../profile/creatorCommunity/CreatorCommunityService.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt index da14f5a..fa8174e 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt @@ -46,6 +46,9 @@ class CreatorCommunityService( @Value("\${cloud.aws.s3.bucket}") private val imageBucket: String, + @Value("\${cloud.aws.s3.content-bucket}") + private val contentBucket: String, + @Value("\${cloud.aws.cloud-front.host}") private val imageHost: String ) { @@ -99,7 +102,7 @@ class CreatorCommunityService( val audioPath = s3Uploader.upload( inputStream = audioFile.inputStream, - bucket = imageBucket, + bucket = contentBucket, filePath = "creator_community/${post.id}/${generateFileName(prefix = "${post.id}-audio")}.m4a", metadata = metadata )