Skip to content

Commit

Permalink
fix: issue with host in client
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbell committed Jun 16, 2023
1 parent b81b2e1 commit 92c799a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/knock/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ module Client
def client
return @client if defined?(@client)

@client = Net::HTTP.new(Knock::API_HOSTNAME, 4001)
# @client = Net::HTTP.new(Knock::API_HOSTNAME, 443)
# @client.use_ssl = true
@client = Net::HTTP.new(Knock::API_HOSTNAME, 443)
@client.use_ssl = true

@client
end
Expand Down

0 comments on commit 92c799a

Please sign in to comment.