Skip to content

Commit

Permalink
fix: add Arabic font support and SVG upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BasselArt committed Dec 31, 2024
1 parent 300c424 commit 6e37e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/handlers/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6e37e27

Please sign in to comment.