From 6fbfa45edb1f76ae83c4bb3251c9d1d0bb96054e Mon Sep 17 00:00:00 2001 From: ybchar Date: Thu, 30 May 2024 13:49:27 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Storage=20Image=20Url=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.js | 3 ++- src/msw/handlers/feed.ts | 6 +++--- src/msw/handlers/follow.ts | 4 ++-- src/pages/onboarding/onboarding.constants.ts | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/next.config.js b/next.config.js index 1d7d5694..98ae5038 100644 --- a/next.config.js +++ b/next.config.js @@ -9,7 +9,8 @@ const nextConfig = { remotePatterns: [ { protocol: 'https', - hostname: 'kr.object.ncloudstorage.com', + // Cloudfront URL + hostname: 'd34pqvj560nej5.cloudfront.net', port: '', }, { diff --git a/src/msw/handlers/feed.ts b/src/msw/handlers/feed.ts index f38b37b8..8f0b399c 100644 --- a/src/msw/handlers/feed.ts +++ b/src/msw/handlers/feed.ts @@ -14,7 +14,7 @@ const getFeedResponse = { name: '미션4', remark: '이 화면 작업중이에용', nickname: '도모', - recordImageUrl: 'https://kr.object.ncloudstorage.com/10mm-images/dev/mission_record/20/image.png', + recordImageUrl: 'https://image.10mm.today/dev/mission_record/20/image.png', profileImage: null, duration: 14, sinceDay: 13, @@ -27,7 +27,7 @@ const getFeedResponse = { recordId: 27, name: '미션5', remark: '이 화면 작업중이에용', - recordImageUrl: 'https://kr.object.ncloudstorage.com/10mm-images/dev/mission_record/20/image.png', + recordImageUrl: 'https://image.10mm.today/dev/mission_record/20/image.png', nickname: '도모', profileImage: null, @@ -44,7 +44,7 @@ const getFeedResponse = { remark: null, nickname: '도모', profileImage: null, - recordImageUrl: 'https://kr.object.ncloudstorage.com/10mm-images/dev/mission_record/20/image.png', + recordImageUrl: 'https://image.10mm.today/dev/mission_record/20/image.png', duration: 12, sinceDay: 34, diff --git a/src/msw/handlers/follow.ts b/src/msw/handlers/follow.ts index c393f5fa..7c6d95e1 100644 --- a/src/msw/handlers/follow.ts +++ b/src/msw/handlers/follow.ts @@ -9,12 +9,12 @@ const getFollowMembersResponse = { { memberId: 2, nickname: '도모', - profileImageUrl: 'https://kr.object.ncloudstorage.com/10mm-images/local/member_profile/1/image.jpeg', + profileImageUrl: 'https://image.10mm.today/local/member_profile/1/image.jpeg', }, { memberId: 4, nickname: '동민이', - profileImageUrl: 'https://kr.object.ncloudstorage.com/10mm-images/local/member_profile/1/image.jpeg', + profileImageUrl: 'https://image.10mm.today/local/member_profile/1/image.jpeg', }, ], timestamp: '2024-01-24T00:53:03.643373', diff --git a/src/pages/onboarding/onboarding.constants.ts b/src/pages/onboarding/onboarding.constants.ts index c5ffefed..6e196cd9 100644 --- a/src/pages/onboarding/onboarding.constants.ts +++ b/src/pages/onboarding/onboarding.constants.ts @@ -8,13 +8,13 @@ export const RECOMMENDATION = [ { id: 16, nickname: '123', - profileImageUrl: 'https://kr.object.ncloudstorage.com/10mm-images/dev/member_profile/16/image.jpeg', + profileImageUrl: 'https://image.10mm.today/dev/member_profile/16/image.jpeg', tags: ['#카페출근', '#출근독서', '#스타벅스'], }, { id: 15, nickname: '1212333331212', - profileImageUrl: 'https://kr.object.ncloudstorage.com/10mm-images/dev/member_profile/15/image.jpeg', + profileImageUrl: 'https://image.10mm.today/dev/member_profile/15/image.jpeg', tags: ['#카페출근', '#출근독서', '#스타벅스'], }, ];