Fixed user image sharpness
This commit is contained in:
parent
d604501974
commit
d133fc5c28
@ -189,7 +189,7 @@ export default {
|
|||||||
store.commit('userInfo/addItem', {
|
store.commit('userInfo/addItem', {
|
||||||
id: res.body.id,
|
id: res.body.id,
|
||||||
name: res.body.displayName,
|
name: res.body.displayName,
|
||||||
imageUrl: res.body.image.url,
|
imageUrl: (res.body.image.url || '').replace(/\bsz?=\d+$/, 'sz=40'),
|
||||||
});
|
});
|
||||||
return res.body;
|
return res.body;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user