File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ func newPictureService() {
50
50
avatarSec .Key ("PATH" ).MustString (
51
51
sec .Key ("AVATAR_UPLOAD_PATH" ).String ())
52
52
53
- Avatar .Storage = getStorage ("avatar " , storageType , avatarSec )
53
+ Avatar .Storage = getStorage ("avatars " , storageType , avatarSec )
54
54
55
55
Avatar .MaxWidth = sec .Key ("AVATAR_MAX_WIDTH" ).MustInt (4096 )
56
56
Avatar .MaxHeight = sec .Key ("AVATAR_MAX_HEIGHT" ).MustInt (3072 )
@@ -107,7 +107,7 @@ func newRepoAvatarService() {
107
107
repoAvatarSec .Key ("PATH" ).MustString (
108
108
sec .Key ("REPOSITORY_AVATAR_UPLOAD_PATH" ).String ())
109
109
110
- RepoAvatar .Storage = getStorage ("avatar " , storageType , repoAvatarSec )
110
+ RepoAvatar .Storage = getStorage ("repo-avatars " , storageType , repoAvatarSec )
111
111
112
112
RepoAvatar .Fallback = sec .Key ("REPOSITORY_AVATAR_FALLBACK" ).MustString ("none" )
113
113
RepoAvatar .FallbackImage = sec .Key ("REPOSITORY_AVATAR_FALLBACK_IMAGE" ).MustString ("/img/repo_default.png" )
You can’t perform that action at this time.
0 commit comments