mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 20:22:31 +02:00
Rename IMGPROXY_ENABLE_*_DETECTION
configs to IMGPROXY_AUTO_*
This commit is contained in:
@@ -46,7 +46,7 @@ func initProcessingHandler() {
|
||||
|
||||
vary := make([]string, 0)
|
||||
|
||||
if config.EnableWebpDetection || config.EnforceWebp || config.EnableAvifDetection || config.EnforceAvif {
|
||||
if config.AutoWebp || config.EnforceWebp || config.AutoAvif || config.EnforceAvif {
|
||||
vary = append(vary, "Accept")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user