From 93b238b31370a5de17e94bb2447a476ff041abd8 Mon Sep 17 00:00:00 2001 From: choi Date: Sun, 22 Dec 2024 15:49:54 +0900 Subject: [PATCH] =?UTF-8?q?s3=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EB=A0=8C?= =?UTF-8?q?=EB=8D=94=EB=A7=81=20=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.mjs | 16 +++++++++++----- src/services/albumService.ts | 3 --- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 05e4c63..12285c3 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,10 +1,16 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: 'standalone', - images: { - formats: ['image/avif', 'image/webp'], - }, + output: "standalone", + images: { + formats: ["image/avif", "image/webp"], + remotePatterns: [ + { + protocol: "https", + hostname: "soundflyer.s3.ap-northeast-2.amazonaws.com", + pathname: "/resources/images/**", + }, + ], + }, }; export default nextConfig; - diff --git a/src/services/albumService.ts b/src/services/albumService.ts index f1cbd8c..f37af67 100644 --- a/src/services/albumService.ts +++ b/src/services/albumService.ts @@ -39,9 +39,6 @@ export const getAllAlbums = async ( pageSize, }, }); - - console.log(response.data); - return response.data; } catch (error) { if (axios.isAxiosError(error)) {