Fix background image path in useRefFiles hook to use AWS S3 URL format.
This commit is contained in:
parent
a17d547252
commit
308e41ac26
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user