From 13a2f26d69a529c26ef9316bf51606fef3213f96 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 16 Oct 2020 17:53:57 -0700 Subject: [PATCH] Updated path for images --- src/components/WeaponResult/index.tsx | 2 +- src/components/WeaponUnit/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/WeaponResult/index.tsx b/src/components/WeaponResult/index.tsx index 3b7331ac..c66130de 100644 --- a/src/components/WeaponResult/index.tsx +++ b/src/components/WeaponResult/index.tsx @@ -21,7 +21,7 @@ class WeaponResult extends React.Component { if (process.env.NODE_ENV === 'development') { imgSrc = gridImages[weapon.granblue_id] } else if (process.env.NODE_ENV === 'production') { - imgSrc = `${process.env.SIERO_IMG_URL}/grid/${weapon.granblue_id}.jpg` + imgSrc = `${process.env.SIERO_IMG_URL}/weapon-grid/${weapon.granblue_id}.jpg` } return ( diff --git a/src/components/WeaponUnit/index.tsx b/src/components/WeaponUnit/index.tsx index 2616411d..45267961 100644 --- a/src/components/WeaponUnit/index.tsx +++ b/src/components/WeaponUnit/index.tsx @@ -53,9 +53,9 @@ function WeaponUnit(props: Props) { imgSrc = gridImages[weapon.granblue_id] } else if (process.env.NODE_ENV === 'production') { if (props.unitType == 0) - imgSrc = `${process.env.SIERO_IMG_URL}/mainhand/${weapon.granblue_id}.jpg` + imgSrc = `${process.env.SIERO_IMG_URL}/weapon-main/${weapon.granblue_id}.jpg` else - imgSrc = `${process.env.SIERO_IMG_URL}/grid/${weapon.granblue_id}.jpg` + imgSrc = `${process.env.SIERO_IMG_URL}/weapon-grid/${weapon.granblue_id}.jpg` } }