diff --git a/reduxer/reduxer.go b/reduxer/reduxer.go index 56735d3a..7259aa0f 100644 --- a/reduxer/reduxer.go +++ b/reduxer/reduxer.go @@ -252,6 +252,9 @@ func capture(ctx context.Context, cfg *config.Options, uri *url.URL, dir string) fallback := func() (*screenshot.Screenshots[screenshot.Path], error) { logger.Debug("reduxer using local browser") + if os.Getenv("PROXY_SERVER") == "" { + os.Setenv("PROXY_SERVER", cfg.Proxy()) + } shot, err = screenshot.Screenshot[screenshot.Path](ctx, uri, opts...) if err != nil { if err == context.DeadlineExceeded {