|
@@ -86,12 +86,12 @@ func New(ctx context.Context, config *Config) (*Imgproxy, error) {
|
|
|
return nil, err
|
|
|
}
|
|
|
|
|
|
- optionsParser, err := optionsparser.New(&config.OptionsParser)
|
|
|
+ processor, err := processing.New(&config.Processing, watermarkImage)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
|
|
|
- processor, err := processing.New(&config.Processing, watermarkImage)
|
|
|
+ optionsParser, err := optionsparser.New(&config.OptionsParser)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|