소스 검색

Add support for using "libravatar" as the GravatarSource

Just to make it easier for administrator to configure libre avatar,
as it is done for "duoshuo" and "gravatar"
tags/v1.0.0
Sandro Santilli 7 년 전
부모
커밋
608a60fb94
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      modules/setting/setting.go

+ 2
- 0
modules/setting/setting.go 파일 보기

@@ -544,6 +544,8 @@ please consider changing to GITEA_CUSTOM`)
GravatarSource = "http://gravatar.duoshuo.com/avatar/"
case "gravatar":
GravatarSource = "https://secure.gravatar.com/avatar/"
case "libravatar":
GravatarSource = "https://seccdn.libravatar.org/avatar/"
default:
GravatarSource = source
}

Loading…
취소
저장