From aa16e370c47f668873ff7eefacada17ac3b6da3e Mon Sep 17 00:00:00 2001 From: mammuth Date: Sun, 3 Apr 2016 12:03:55 +0200 Subject: [PATCH] Fix images not loading on the homepage --- app/components/common/AntagonistsComp/AntagonistsComp.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/common/AntagonistsComp/AntagonistsComp.jsx b/app/components/common/AntagonistsComp/AntagonistsComp.jsx index 6d9a56d..100a3fb 100644 --- a/app/components/common/AntagonistsComp/AntagonistsComp.jsx +++ b/app/components/common/AntagonistsComp/AntagonistsComp.jsx @@ -12,8 +12,8 @@ export default class AntagonistsComp extends Component { let randompair = Math.floor(Math.random() * json.length); let name1 = json[randompair][0]; let name2 = json[randompair][1]; - let img1 = '/assets/static/images/'+json[randompair][0].replace(/ /g,'_')+'.jpg'; - let img2 = '/assets/static/images/'+json[randompair][1].replace(/ /g,'_')+'.jpg'; + let img1 = '/static/images/'+json[randompair][0].replace(/ /g,'_')+'.jpg'; + let img2 = '/static/images/'+json[randompair][1].replace(/ /g,'_')+'.jpg'; return (