This commit is contained in:
parent
804d6aed2a
commit
ab1dd08225
7 changed files with 216 additions and 140 deletions
|
|
@ -36,7 +36,7 @@ local function get_stream_key_for_realm(realm_name)
|
|||
local http = require "resty.http"
|
||||
local httpc = http.new()
|
||||
|
||||
local res, err = httpc:request_uri("http://backend:3000/internal/realm-stream-key/" .. ngx.escape_uri(realm_name), {
|
||||
local res, err = httpc:request_uri("http://drogon-backend:8080/internal/realm-stream-key/" .. ngx.escape_uri(realm_name), {
|
||||
method = "GET",
|
||||
headers = { ["Content-Type"] = "application/json" }
|
||||
})
|
||||
|
|
@ -64,7 +64,7 @@ local function get_live_realms()
|
|||
local http = require "resty.http"
|
||||
local httpc = http.new()
|
||||
|
||||
local res, err = httpc:request_uri("http://backend:3000/api/realms/live", {
|
||||
local res, err = httpc:request_uri("http://drogon-backend:8080/api/realms/live", {
|
||||
method = "GET",
|
||||
headers = { ["Content-Type"] = "application/json" }
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue