Skip to content

Commit

Permalink
repair webp converting for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
atauenis committed Feb 13, 2023
1 parent ca61bc8 commit 277ca03
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions webone.conf
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,16 @@ AddConvert=convert
AddConvertDest=gif
AddResponseHeader=Content-Type: image/gif

; WebP->PNG converting (Mozilla, Firefox 1.0-65)
[Edit]
OnContentType=image/webp
OnHeader=User-Agent: .*rv:([0-5].)|([6][0-4])
IgnoreUrl=webdav
AddConvert=convert
AddConvertDest=png
AddResponseHeader=Content-Type: image/png


; uncomment section below to enable JPG recompression
;[Edit]
;OnContentType=image/jpeg
Expand Down

0 comments on commit 277ca03

Please sign in to comment.