lib/conjur/authn-api.rb in conjur-api-4.3.0 vs lib/conjur/authn-api.rb in conjur-api-4.4.0

- old
+ new

@@ -21,19 +21,10 @@ module Conjur module Authn class API < Conjur::API class << self def host - ENV['CONJUR_AUTHN_URL'] || default_host - end - - def default_host - case Conjur.env - when 'test', 'development' - "http://localhost:#{Conjur.service_base_port}" - else - "https://authn-#{Conjur.account}-conjur.herokuapp.com" - end + Conjur.configuration.authn_url end end end end end \ No newline at end of file