Skip to content

Commit 11ba383

Browse files
committed
Remove proxy configuration code
1 parent 41943c8 commit 11ba383

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/trackingmore/request.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class Request
88
@@apiPort = 443
99
@@apiVersion = 'v4'
1010
@@timeout = 10
11-
@@proxy_host = '192.168.2.198'
12-
@@proxy_port = 7890
1311

1412
def self.get_request_url(path)
1513
pact = @@apiPort == 443 ? 'https' : 'http'
@@ -43,7 +41,7 @@ def self.make_request(method = 'GET', path = '', params = nil)
4341
uri.query = query_string
4442
end
4543

46-
http = Net::HTTP.new(uri.host, uri.port,@@proxy_host,@@proxy_port)
44+
http = Net::HTTP.new(uri.host, uri.port)
4745
http.use_ssl = uri.scheme == 'https'
4846

4947
http.open_timeout = 10

0 commit comments

Comments
 (0)