From 1cc163587fa1508b9d7005eea570ce5047c32b9f Mon Sep 17 00:00:00 2001 From: jhc Date: Mon, 24 Feb 2025 18:38:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/logic/upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/logic/upload.go b/pkg/logic/upload.go index 6894a62..ce37e9e 100644 --- a/pkg/logic/upload.go +++ b/pkg/logic/upload.go @@ -181,7 +181,7 @@ func MakeThumbnailDefault270(imagePath, savePath string) error { if err != nil { return err } - img = rotate90(img) + img = rotate270(img) newImg, _ := os.Create(savePath) defer newImg.Close()