Fix url for avatar

This commit is contained in:
Liam 2022-10-22 12:37:30 +01:00
parent 6b7d4320b9
commit 9a5ffab042

@ -137,7 +137,7 @@ export default class Home extends Component {
if (json.message === "Valid") { if (json.message === "Valid") {
this.setState({ this.setState({
avatarUrl: `/api/steamavatar?steamid=${steamId}`, avatarUrl: `https://cdn.scoresaber.com/avatars/${steamId}.jpg`,
}); });
} else { } else {
this.setState({ avatarUrl: undefined }); this.setState({ avatarUrl: undefined });