mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-27 20:17:20 +02:00
Fix watermark config load
This commit is contained in:
2
main.go
2
main.go
@@ -120,7 +120,7 @@ func callHandleProcessing(reqID string, rw http.ResponseWriter, r *http.Request)
|
||||
}
|
||||
|
||||
wic := auximageprovider.NewDefaultStaticConfig()
|
||||
wic, err = auximageprovider.LoadFallbackStaticConfigFromEnv(wic)
|
||||
wic, err = auximageprovider.LoadWatermarkStaticConfigFromEnv(wic)
|
||||
if err != nil {
|
||||
return ierrors.Wrap(err, 0, ierrors.WithCategory(categoryConfig))
|
||||
}
|
||||
|
Reference in New Issue
Block a user