mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 12:12:40 +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 := auximageprovider.NewDefaultStaticConfig()
|
||||||
wic, err = auximageprovider.LoadFallbackStaticConfigFromEnv(wic)
|
wic, err = auximageprovider.LoadWatermarkStaticConfigFromEnv(wic)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return ierrors.Wrap(err, 0, ierrors.WithCategory(categoryConfig))
|
return ierrors.Wrap(err, 0, ierrors.WithCategory(categoryConfig))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user