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', } ] }, 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 ? (