Fix background image path in useRefFiles hook to use AWS S3 URL format.

This commit is contained in:
yoosangwook 2025-05-29 16:47:17 +09:00
parent a17d547252
commit 308e41ac26

View File

@ -271,8 +271,8 @@ export function useRefFiles() {
})
console.log('🚀 ~ handleUploadConvertRefFile ~ result:', result)
// setCurrentBgImage(`${process.env.NEXT_PUBLIC_AWS_S3_BASE_URL}/${result.fileName}`)
setCurrentBgImage(result.filePath)
setCurrentBgImage(`${process.env.NEXT_PUBLIC_AWS_S3_BASE_URL}/${result.fileName}`)
// setCurrentBgImage(result.filePath)
setRefImage(file)
const params = {