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 6473523 commit e65a179
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/handlers/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ func Favicon() web.HandlerFunc {

opts := []imagic.ImageOperation{}
if size > 0 {
opts = append(opts, imagic.FitToWidth(size))
opts = append(opts, imagic.Resize(size))
opts = append(opts, imagic.Fit())
}

if c.QueryParam("bg") != "" {
Expand Down

0 comments on commit e65a179

Please sign in to comment.