Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
M3351AN authored Mar 30, 2024
1 parent bd5cfe7 commit 6fc28eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
const historyRatings = data.data.historyRatings;
const averageRating = historyRatings.reduce((acc, val) => acc + val, 0) / historyRatings.length;
const avatarPW = data.data.avatar;
const avatar = avatarPW.replace('cdn.wmpvp.com/avatars', 'avatars.akamai.steamstatic.com');
const avatar = avatarPW.replace('cdn.wmpvp.com/avatars', 'avatars.akamai.steamstatic.com').replace('.jpg', '_full.jpg');

document.getElementById('avatar').src = avatar;
document.getElementById('nickName').textContent = data.data.nickName;
Expand Down

0 comments on commit 6fc28eb

Please sign in to comment.