Fix avatar url

This commit is contained in:
kolaente 2020-05-05 23:30:15 +02:00
parent 0c6b0cb48d
commit 38c7e4b3c2
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -18,6 +18,6 @@ export default class UserModel extends AbstractModel {
}
getAvatarUrl(size = 50) {
return `${window.API_URL}${this.username}/avatar?size=${size}`
return `${window.API_URL}/${this.username}/avatar?size=${size}`
}
}