From 4de742d1a338ef1084a3189d8b63ed5dc70bb90e Mon Sep 17 00:00:00 2001 From: yoosangwook Date: Thu, 29 May 2025 16:48:09 +0900 Subject: [PATCH] Fix background image path in useRefFiles hook to use AWS S3 URL instead of local file path --- src/hooks/common/useRefFiles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/common/useRefFiles.js b/src/hooks/common/useRefFiles.js index e287221a..be3b9abf 100644 --- a/src/hooks/common/useRefFiles.js +++ b/src/hooks/common/useRefFiles.js @@ -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 = {