File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const parseItem = item => {
3030 image : cdnImages [ item . image_inventory ] ?? item . image ,
3131 video : folder === "zh-CN" ? item . video . replace ( "_ww_" , "_cn_" ) : item . video ,
3232 // TODO: would be great to have chinese thumbnail as well
33- thumbnail : folder === "zh-CN" ? item . thumbnail . replace ( "_ww.webp " , "_cn.webp " ) : item . thumbnail ,
33+ thumbnail : folder === "zh-CN" ? item . thumbnail . replace ( "/ww/ " , "/cn/ " ) : item . thumbnail ,
3434 original : {
3535 image_inventory : item . image_inventory ,
3636 } ,
Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ export const loadHighlights = () => {
603603 image : getImageUrl ( `econ/keychains/${ item . id . split ( "_" ) [ 0 ] } /kc_${ item . id . split ( "_" ) [ 0 ] } ` ) ,
604604 image_inventory : `econ/keychains/${ item . id . split ( "_" ) [ 0 ] } /kc_${ item . id . split ( "_" ) [ 0 ] } ` ,
605605 video : video ,
606- thumbnail : `https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/refs/heads/main/static/highlightreels/${ item . id . split ( "_" ) [ 0 ] } /${ item . id } _ww .webp` ,
606+ thumbnail : `https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/refs/heads/main/static/highlightreels/ww /${ id } .webp` ,
607607 } ;
608608 } ) ;
609609} ;
You can’t perform that action at this time.
0 commit comments