Skip to content

Commit

Permalink
update nexus url.
Browse files Browse the repository at this point in the history
  • Loading branch information
代岭池 committed Sep 10, 2020
1 parent a833e77 commit 263a769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods-nexus/api/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def authorization_header

def send_request(connection_method, endpoint, parameters: '', headers: {}, api_version: 'v1')
parameters = parameters.to_json if headers['Content-Type'] == 'application/json'
url = "#{@hostname}/nexus/service/rest/#{api_version}/#{endpoint}"
url = File.join(@hostname,"/nexus/service/rest/#{api_version}/#{endpoint}")
catch_connection_error do
RestClient::Request.execute(
method: connection_method,
Expand Down

0 comments on commit 263a769

Please sign in to comment.