Commit 2adb85fc0fb30dfe1c9e430c33c67cf6de0ab229

Authored by Victor Costa
1 parent c54c936c

Disable ssl verification for feed handler

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/feed_handler.rb
... ... @@ -48,6 +48,7 @@ class FeedHandler
48 48 else
49 49 header.merge!(:proxy => ENV['FEED_HTTP_PROXY']) if ENV['FEED_HTTP_PROXY']
50 50 end
  51 + header.merge!(ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE)
51 52 open(address, header, &block)
52 53 end
53 54 return content
... ...