avatars now never expire and should be loaded from cache

This commit is contained in:
nek0 2015-09-16 18:47:13 +02:00
parent 0689cd76b7
commit b7a994ea08
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ generateThumb raw =
getGetAvatarR :: AvatarId -> Handler TypedContent
getGetAvatarR aId = do
neverExpires
avatar <- runDB $ get404 aId
return $ TypedContent typePng $ toContent $ avatarData avatar