From 3a787608b0aaf55257d1c9054b361a2d1693b3fd Mon Sep 17 00:00:00 2001 From: renansoares Date: Fri, 1 Jul 2016 11:27:45 -0300 Subject: [PATCH] fix domain name --- lib/api_client/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api_client/client.rb b/lib/api_client/client.rb index 8e176ed..83a37d0 100644 --- a/lib/api_client/client.rb +++ b/lib/api_client/client.rb @@ -34,7 +34,7 @@ module ApiClient::Client def self.process_params(request, files) options = { query: request.params.clone } options[:query].merge!(:servico => request.service_type) - options[:query].merge!(:callback => "http://150.165.204.80/v_libras/requests/callback?request_id=#{request.id}") + options[:query].merge!(:callback => "http://#{ENV['DOMAIN_NAME']}/v_libras/requests/callback?request_id=#{request.id}") options[:query].merge!(:video => files[:video].file.to_file) -- libgit2 0.21.2