Commit 3a787608b0aaf55257d1c9054b361a2d1693b3fd
1 parent
cd5e52af
Exists in
master
fix domain name
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/api_client/client.rb
... | ... | @@ -34,7 +34,7 @@ module ApiClient::Client |
34 | 34 | def self.process_params(request, files) |
35 | 35 | options = { query: request.params.clone } |
36 | 36 | options[:query].merge!(:servico => request.service_type) |
37 | - options[:query].merge!(:callback => "http://150.165.204.80/v_libras/requests/callback?request_id=#{request.id}") | |
37 | + options[:query].merge!(:callback => "http://#{ENV['DOMAIN_NAME']}/v_libras/requests/callback?request_id=#{request.id}") | |
38 | 38 | |
39 | 39 | options[:query].merge!(:video => files[:video].file.to_file) |
40 | 40 | ... | ... |