1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Increase avatar entropy

This commit is contained in:
*Kim Zick 2022-11-26 16:26:03 -05:00 committed by GitHub
parent b1a12a5759
commit f121112d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ func (h *AvatarHandler) Get(w http.ResponseWriter, r *http.Request) {
} }
if !h.cache.Contains(hash) { if !h.cache.Contains(hash) {
h.cache.Add(hash, avatars.MakeMaleAvatar(hash)) h.cache.Add(hash, avatars.MakeAvatar(hash))
} }
data, _ := h.cache.Get(hash) data, _ := h.cache.Get(hash)