mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-18 05:40:31 +00:00
fix fetchmodpack images url
This commit is contained in:
parent
f6e525d41a
commit
141919a632
@ -69,7 +69,7 @@ const Modpack = ({ user }) => {
|
|||||||
className={`${styles.modpackCard} ${selectedModpackIndex === index ? styles.selected : ''}`}
|
className={`${styles.modpackCard} ${selectedModpackIndex === index ? styles.selected : ''}`}
|
||||||
onClick={() => handleModpackClick(index)}
|
onClick={() => handleModpackClick(index)}
|
||||||
>
|
>
|
||||||
<img src={`https://www.servii.fr/api/modpacks/image/${modpack.image}`} alt={modpack.name} className={styles.modpackImage} />
|
<img src={`https://api.servii.fr/modpacks/image/${modpack.image}`} alt={modpack.name} className={styles.modpackImage} />
|
||||||
<h3>{modpack.name}</h3>
|
<h3>{modpack.name}</h3>
|
||||||
<p>{modpack.description}</p>
|
<p>{modpack.description}</p>
|
||||||
<div className={styles.tags}>
|
<div className={styles.tags}>
|
||||||
|
Loading…
Reference in New Issue
Block a user