mirror of https://github.com/usbharu/Hideout.git
feat: ストレージ設定でpublic urlが正常に指定されていなかった問題を修正
This commit is contained in:
parent
216ee78da0
commit
7fff8e39d4
|
@ -51,9 +51,9 @@ class S3MediaDataStore(private val s3Client: S3Client, private val storageConfig
|
|||
)
|
||||
}.toMap()
|
||||
return SuccessSavedMedia(
|
||||
dataMediaSave.name,
|
||||
pairList.getValue("file").toString(),
|
||||
pairList.getValue("thumbnail").toString()
|
||||
name = dataMediaSave.name,
|
||||
url = "${storageConfig.publicUrl}/${storageConfig.bucket}/${dataMediaSave.name}",
|
||||
thumbnailUrl = "${storageConfig.publicUrl}/${storageConfig.bucket}/$thumbnailKey"
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue