lib/link_thumbnailer/processor.rb in link_thumbnailer-2.3.2 vs lib/link_thumbnailer/processor.rb in link_thumbnailer-2.4.0
- old
+ new
@@ -41,9 +41,10 @@
end
def set_http_options
http.verify_mode = ::OpenSSL::SSL::VERIFY_NONE unless ssl_required?
http.open_timeout = http_timeout
+ http.proxy = :ENV
end
def perform_request
response = http.request(url)
case response