Showing
1 changed file
with
5 additions
and
1 deletions
@@ -139,7 +139,11 @@ const formatArticle = (articleData, showTag, isApp, showAuthor, uid, top) => { | @@ -139,7 +139,11 @@ const formatArticle = (articleData, showTag, isApp, showAuthor, uid, top) => { | ||
139 | 139 | ||
140 | result.author = articleData.author; | 140 | result.author = articleData.author; |
141 | if (result.author.avatar) { | 141 | if (result.author.avatar) { |
142 | - result.author.avatar = result.author.avatar.replace('http://', '//'); | 142 | + let avatarUrl = result.author.avatar.replace('http://', '//'); |
143 | + | ||
144 | + avatarUrl = avatarUrl.split('?')[0]; | ||
145 | + | ||
146 | + result.author.avatar = avatarUrl; | ||
143 | } | 147 | } |
144 | } | 148 | } |
145 | 149 |
-
Please register or login to post a comment