mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-02 17:09:48 +02:00
Add real check for icoload_source
This commit is contained in:
@@ -268,7 +268,7 @@ func SupportsLoad(it imagetype.Type) bool {
|
|||||||
case imagetype.BMP:
|
case imagetype.BMP:
|
||||||
sup = hasOperation("bmpload_source")
|
sup = hasOperation("bmpload_source")
|
||||||
case imagetype.ICO:
|
case imagetype.ICO:
|
||||||
sup = true
|
sup = hasOperation("icoload_source")
|
||||||
case imagetype.SVG:
|
case imagetype.SVG:
|
||||||
sup = hasOperation("svgload_source")
|
sup = hasOperation("svgload_source")
|
||||||
case imagetype.HEIC, imagetype.AVIF:
|
case imagetype.HEIC, imagetype.AVIF:
|
||||||
|
Reference in New Issue
Block a user