Skip to content

Commit

Permalink
fix: use image aspect ratio for default size
Browse files Browse the repository at this point in the history
  • Loading branch information
theredrad committed Sep 25, 2021
1 parent d2218df commit 1aadc00
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ func (a *API) SizeHandler(w http.ResponseWriter, r *http.Request) {

if width == 0 && height == 0 {
width = normalSize
height = normalSize
}

if a.opt.CacheFiles {
Expand Down

0 comments on commit 1aadc00

Please sign in to comment.