From b226c3aca3bac3e05cfd068e67f6718d796ab3b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 23 Feb 2017 11:23:28 +0100 Subject: [PATCH] [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. --- react/features/app/functions.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/app/functions.native.js b/react/features/app/functions.native.js index 8f03e7bca..4a692bb61 100644 --- a/react/features/app/functions.native.js +++ b/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;