[RN] Fix loading config.js from URLs with a non-standard port

`host` contains the hostname:port portion, whereas `hostname` is just the
hostname, not including the port.
pull/1352/head
Saúl Ibarra Corretgé 8 years ago committed by Lyubo Marinov
parent 4979666a89
commit b226c3aca3
  1. 2
      react/features/app/functions.native.js

@ -126,7 +126,7 @@ function _getRoomAndDomainFromURLObject(url) {
let room;
if (url) {
domain = url.hostname;
domain = url.host;
// The room (name) is the last component of pathname.
room = url.pathname;

Loading…
Cancel
Save