From 4f1338f624ec4cc17f5b91091cca962bffcff720 Mon Sep 17 00:00:00 2001 From: Eunyoung Lee <116702472+ieun32@users.noreply.github.com> Date: Sat, 31 Aug 2024 19:16:35 +0900 Subject: [PATCH] Update RenderCake.tsx --- apps/client/src/components/cake/RenderCake.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/client/src/components/cake/RenderCake.tsx b/apps/client/src/components/cake/RenderCake.tsx index ddb4e60..c57596c 100644 --- a/apps/client/src/components/cake/RenderCake.tsx +++ b/apps/client/src/components/cake/RenderCake.tsx @@ -13,7 +13,7 @@ type RenderedCakeProps = { handleClick?: (index: number) => void; }; -const baseUrl = 'https://kkoo.s3.ap-northeast-2.amazonaws.com/images/cakes/avif/'; +const baseUrl = 'https://kkoo.s3.ap-northeast-2.amazonaws.com/images/cakes/webp/'; const RenderCake: React.FC = ({ sheetColor, @@ -23,8 +23,8 @@ const RenderCake: React.FC = ({ }) => { sheetColor = sheetColor ?? 'chocolate'; creamColor = creamColor ?? 'white'; - const sheetSrc = baseUrl + 'sheet_' + sheetColor + '.avif'; - const creamSrc = baseUrl + 'cream_' + creamColor + '.avif'; + const sheetSrc = baseUrl + 'sheet_' + sheetColor + '.webp'; + const creamSrc = baseUrl + 'cream_' + creamColor + '.webp'; return (