diff --git a/app/handlers/images.go b/app/handlers/images.go index 0edea2211..de2c1d452 100644 --- a/app/handlers/images.go +++ b/app/handlers/images.go @@ -192,7 +192,7 @@ func Favicon() web.HandlerFunc { size, err := c.QueryParamAsInt("size") if err != nil { - return c.BadRequest(web.Map{}) + size = 64 // Default size if not provided or invalid } size = between(size, 50, 1000)