Skip to content

Commit

Permalink
[RN] Fix loading config.js from URLs with a non-standard port
Browse files Browse the repository at this point in the history
`host` contains the hostname:port portion, whereas `hostname` is just the
hostname, not including the port.
  • Loading branch information
saghul authored and lyubomir committed Feb 23, 2017
1 parent 4979666 commit b226c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/features/app/functions.native.js
Expand Up @@ -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;
Expand Down

0 comments on commit b226c3a

Please sign in to comment.