Fix url for avatar

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

View File

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