Skip to content

Commit

Permalink
Merge pull request #1414 from wonda-tea-coffee/replace-git.io-link
Browse files Browse the repository at this point in the history
replace git.io link
  • Loading branch information
nickfloyd committed May 23, 2022
2 parents 6333f96 + 944f832 commit 651aa20
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module ManagementConsole
# @param license [String] The path to your .ghl license file.
# @param settings [Hash] A hash configuration of the initial settings.
#
# @see http: //git.io/j5NT
# @see https://docs.github.com/en/enterprise-server@3.4/rest/enterprise-admin/management-console#create-a-github-license
# @return nil
def upload_license(license, settings = nil)
conn = faraday_configuration
Expand Down Expand Up @@ -156,7 +156,7 @@ def password_hash
end

# We fall back to raw Faraday for handling the licenses because I'm suspicious
# that Sawyer isn't handling binary POSTs correctly: http://git.io/jMir
# that Sawyer isn't handling binary POSTs correctly: https://github.com/lostisland/sawyer/blob/03fca4c020f465ec42856d0486ec3991859b0aed/lib/sawyer/agent.rb#L85
def faraday_configuration
@faraday_configuration ||= Faraday.new(:url => @management_console_endpoint) do |http|
http.headers[:user_agent] = user_agent
Expand Down

0 comments on commit 651aa20

Please sign in to comment.