From fd1e1da5ea79d21926fc1c205d8ec96cd96ac4fc Mon Sep 17 00:00:00 2001 From: hyeseon han Date: Fri, 1 Mar 2024 22:46:48 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20next.config.js=20remotePatterns=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 04ccec9..9260fac 100644 --- a/next.config.js +++ b/next.config.js @@ -2,11 +2,14 @@ const nextConfig = { reactStrictMode: true, images: { - domains: ['mara-s3bucket.s3.ap-northeast-2.amazonaws.com'], remotePatterns: [ { protocol: 'https', hostname: 'fridge-link-img.s3.ap-northeast-2.amazonaws.com', + }, + { + protocol: 'https', + hostname: 'mara-s3bucket.s3.ap-northeast-2.amazonaws.com', } ] }, From feb45007c3d688ae68301591ac64710c46c083f2 Mon Sep 17 00:00:00 2001 From: hyeseon han Date: Fri, 1 Mar 2024 22:48:05 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EB=82=98=EB=88=94=EA=B8=80=20?= =?UTF-8?q?=EC=83=81=EC=84=B8>=20=EC=A1=B0=ED=9A=8C=20API=20thumbnailImage?= =?UTF-8?q?=20=ED=95=84=EB=93=9C=EA=B0=92=20=EC=88=98=EC=A0=95=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/share/[id].tsx | 4 ++-- src/types/share/index.d.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/share/[id].tsx b/src/pages/share/[id].tsx index 7648ac5..95cbbd4 100644 --- a/src/pages/share/[id].tsx +++ b/src/pages/share/[id].tsx @@ -30,10 +30,10 @@ const ShareDetailPage: NextPage = () => { <>
- {data?.thumbNailImage ? ( + {data?.thumbnailImage ? (