Update obs.go

pull/2868/head
Darren Yu 2025-09-05 11:32:45 +08:00 committed by GitHub
parent 721172bedc
commit 875458d83d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -341,7 +341,6 @@ func (d *Driver) Thumb(ctx context.Context, expire *time.Time, ext string, e fs.
switch enco.Format {
case "jpg", "webp":
thumbParam += fmt.Sprintf("/format,%s/quality,q_%d", enco.Format, enco.Quality)
thumbParam += fmt.Sprintf("/format,%s/quality,q_%d", enco.Format, enco.Quality)
case "png":
thumbParam += fmt.Sprintf("/format,%s", enco.Format)
}