lib/wayfarer/networking/http.rb in wayfarer-0.4.6 vs lib/wayfarer/networking/http.rb in wayfarer-0.4.7

- old
+ new

@@ -7,10 +7,10 @@ CONNECTION_NAME = "wayfarer" def create Net::HTTP::Persistent.new(name: CONNECTION_NAME).tap do |conn| - Wayfarer.config.network.http_headers.each do |key, val| + Wayfarer.config[:network][:http_headers].each do |key, val| conn.override_headers[key] = val end end end