Fix url for avatar
This commit is contained in:
parent
6b7d4320b9
commit
9a5ffab042
@ -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 });
|
||||
|
Reference in New Issue
Block a user