From 6e37e2787eb8fce51e9651bce8ad634d15706908 Mon Sep 17 00:00:00 2001 From: Bassel Al Sheikh Ali Date: Tue, 31 Dec 2024 09:14:32 +0300 Subject: [PATCH] fix: add Arabic font support and SVG upload --- app/handlers/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)