specify latency server url correctly
This commit is contained in:
parent
1ee14dd01a
commit
047ae3ebb2
|
|
@ -938,7 +938,7 @@ class ApiUsersController < ApiController
|
|||
#fetch latency information from latency-graph serverless
|
||||
def get_latencies
|
||||
user_ids = params[:user_ids]
|
||||
latency_url = "#{Rails.application.config.latency_data_host}/dev/user_latencies"
|
||||
latency_url = "#{Rails.application.config.latency_data_host}/user_latencies"
|
||||
uri = URI(latency_url)
|
||||
begin
|
||||
http = Net::HTTP.new(uri.host, uri.port)
|
||||
|
|
|
|||
|
|
@ -114,6 +114,6 @@ SampleApp::Application.configure do
|
|||
|
||||
config.video_conferencing_host = "https://webrtc-demo.jamkazam.com"
|
||||
config.use_video_conferencing_server = true
|
||||
config.latency_data_host = "http://localhost:4001"
|
||||
config.latency_data_host = "http://localhost:4001/dev"
|
||||
config.latency_data_host_auth_code = "c2VydmVyOnBhc3N3b3Jk"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ SampleApp::Application.configure do
|
|||
|
||||
config.video_conferencing_host = "https://webrtc-demo.jamkazam.com"
|
||||
config.use_video_conferencing_server = false
|
||||
config.latency_data_host = "http://localhost:4001"
|
||||
config.latency_data_host = "http://localhost:4001/test"
|
||||
config.latency_data_host_auth_code = "c2VydmVyOnBhc3N3b3Jk"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue