Save small avatars in a different directory

This commit is contained in:
2017-06-13 01:14:52 +02:00
parent 5d97a87152
commit 4145f86e84
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ func main() {
}
if ctx.CanUseWebP() {
return ctx.File("images/avatars/webp/" + user.ID + ".small.webp")
return ctx.File("images/avatars/webp-small/" + user.ID + ".webp")
}
err = errors.New("Your browser doesn't support the WebP image format")