Commit 1a8b4713 authored by Liang Ding's avatar Liang Ding

Fix #12749

parent 155a8d97
......@@ -55,7 +55,7 @@ import java.util.Set;
* Solo initialization service.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.5.2.32, Mar 29, 2019
* @version 1.5.2.33, Apr 2, 2019
* @since 0.4.0
*/
@Service
......@@ -287,7 +287,7 @@ public class InitService {
comment.put(Comment.COMMENT_CONTENT, langPropsService.get("helloWorld.comment.content"));
comment.put(Comment.COMMENT_ORIGINAL_COMMENT_ID, "");
comment.put(Comment.COMMENT_ORIGINAL_COMMENT_NAME, "");
comment.put(Comment.COMMENT_THUMBNAIL_URL, Solos.GRAVATAR + "59a5e8209c780307dbe9c9ba728073f5??s=60&r=G");
comment.put(Comment.COMMENT_THUMBNAIL_URL, "https://img.hacpai.com/avatar/1353745196354_1535379434567.png?imageView2/1/w/64/h/64/q/100");
comment.put(Comment.COMMENT_CREATED, now);
comment.put(Comment.COMMENT_ON_ID, articleId);
comment.put(Comment.COMMENT_ON_TYPE, Article.ARTICLE);
......
......@@ -53,7 +53,7 @@ import java.util.ResourceBundle;
* Solo utilities.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.8.0.1, Mar 29, 2019
* @version 1.8.0.2, Apr 2, 2019
* @since 2.8.0
*/
public final class Solos {
......@@ -68,11 +68,6 @@ public final class Solos {
*/
public static final String FAVICON_API;
/**
* Gravatar address.
*/
public static final String GRAVATAR;
/**
* Solo User-Agent.
*/
......@@ -107,7 +102,6 @@ public final class Solos {
}
FAVICON_API = solo.getString("faviconAPI");
GRAVATAR = solo.getString("gravatar");
}
static {
......
......@@ -18,9 +18,8 @@
#
# Description: Solo configurations.
# Version: 2.5.0.0, Mar 29, 2019
# Version: 2.5.0.1, Apr 2, 2019
# Author: Liang Ding
#
gravatar=https://secure.gravatar.com/avatar/
faviconAPI=https://api.byi.pw/favicon?url=
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Subproject commit 734a0979a7e54abe6478ce77efdb36ac6f32f396
Subproject commit 443cacafa36e709f9acbdd168b907a50f9840356
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment