fix: update background image URL in useRefFiles hook to utilize AWS S3 base URL
This commit is contained in:
parent
ad12f9b817
commit
e26673b78a
@ -151,7 +151,8 @@ export function useRefFiles() {
|
||||
})
|
||||
console.log('🚀 ~ handleMapImageDown ~ res:', res)
|
||||
// setCurrentBgImage(`${process.env.NEXT_PUBLIC_HOST_URL}${res.filePath}`)
|
||||
setCurrentBgImage(`${res.filePath}`)
|
||||
// setCurrentBgImage(`${res.filePath}`)
|
||||
setCurrentBgImage(`${process.env.NEXT_PUBLIC_AWS_S3_BASE_URL}/${res.fileName}`)
|
||||
|
||||
await setBackGroundImage({
|
||||
objectId: currentCanvasPlan.id,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user