Skip to content

Commit

Permalink
Use proxy=(url) instead of proxy(url)
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed May 9, 2023
1 parent cd0d7d7 commit 357abf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/concerns/web_request_concern.rb
Expand Up @@ -123,7 +123,7 @@ def faraday

builder.headers[:user_agent] = user_agent

builder.proxy interpolated['proxy'].presence
builder.proxy = interpolated['proxy'].presence

unless boolify(interpolated['disable_redirect_follow'])
builder.use FaradayMiddleware::FollowRedirects
Expand Down

0 comments on commit 357abf7

Please sign in to comment.