diff --git a/components/CharacterResult/index.tsx b/components/CharacterResult/index.tsx index 582bdf2c..cb6ad816 100644 --- a/components/CharacterResult/index.tsx +++ b/components/CharacterResult/index.tsx @@ -20,10 +20,10 @@ const CharacterResult = (props: Props) => { const character = props.data const characterUrl = () => { - let url = `${process.env.NEXT_PUBLIC_SIERO_IMG_URL}chara-grid/${character.granblue_id}_01.jpg` + let url = `${process.env.NEXT_PUBLIC_SIERO_IMG_URL}/chara-grid/${character.granblue_id}_01.jpg` if (character.granblue_id === '3030182000') { - url = `${process.env.NEXT_PUBLIC_SIERO_IMG_URL}chara-grid/${character.granblue_id}_01_01.jpg` + url = `${process.env.NEXT_PUBLIC_SIERO_IMG_URL}/chara-grid/${character.granblue_id}_01_01.jpg` } return url diff --git a/components/CharacterUnit/index.tsx b/components/CharacterUnit/index.tsx index c7a2de3b..337357e3 100644 --- a/components/CharacterUnit/index.tsx +++ b/components/CharacterUnit/index.tsx @@ -72,7 +72,7 @@ const CharacterUnit = (props: Props) => { suffix = `${suffix}_0${element}` } - imgSrc = `${process.env.NEXT_PUBLIC_SIERO_IMG_URL}chara-main/${character.granblue_id}_${suffix}.jpg` + imgSrc = `${process.env.NEXT_PUBLIC_SIERO_IMG_URL}/chara-main/${character.granblue_id}_${suffix}.jpg` } setImageUrl(imgSrc)