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()
|
}.toMap()
|
||||||
return SuccessSavedMedia(
|
return SuccessSavedMedia(
|
||||||
dataMediaSave.name,
|
name = dataMediaSave.name,
|
||||||
pairList.getValue("file").toString(),
|
url = "${storageConfig.publicUrl}/${storageConfig.bucket}/${dataMediaSave.name}",
|
||||||
pairList.getValue("thumbnail").toString()
|
thumbnailUrl = "${storageConfig.publicUrl}/${storageConfig.bucket}/$thumbnailKey"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue