fix(backend): actually resize avatars on upload
This commit is contained in:
parent
0c4f97b3cc
commit
552505fa53
|
@ -14,8 +14,8 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
webpArgs = []string{"-quality", "50", "webp:-"}
|
||||
jpgArgs = []string{"-quality", "50", "jpg:-"}
|
||||
webpArgs = []string{"-resize", "256x256", "-quality", "50", "webp:-"}
|
||||
jpgArgs = []string{"-resize", "256x256", "-quality", "50", "jpg:-"}
|
||||
)
|
||||
|
||||
const ErrInvalidDataURI = errors.Sentinel("invalid data URI")
|
||||
|
|
Loading…
Reference in New Issue