크리에이터 커뮤니티
- 오디오 업로드 버킷 변경
This commit is contained in:
		| @@ -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 | ||||
|             ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user