avatars now never expire and should be loaded from cache
This commit is contained in:
parent
0689cd76b7
commit
b7a994ea08
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ generateThumb raw =
|
||||||
|
|
||||||
getGetAvatarR :: AvatarId -> Handler TypedContent
|
getGetAvatarR :: AvatarId -> Handler TypedContent
|
||||||
getGetAvatarR aId = do
|
getGetAvatarR aId = do
|
||||||
|
neverExpires
|
||||||
avatar <- runDB $ get404 aId
|
avatar <- runDB $ get404 aId
|
||||||
return $ TypedContent typePng $ toContent $ avatarData avatar
|
return $ TypedContent typePng $ toContent $ avatarData avatar
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue