Преглед на файлове

[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.
master
Saúl Ibarra Corretgé преди 8 години
родител
ревизия
b226c3aca3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      react/features/app/functions.native.js

+ 1
- 1
react/features/app/functions.native.js Целия файл

126
     let room;
126
     let room;
127
 
127
 
128
     if (url) {
128
     if (url) {
129
-        domain = url.hostname;
129
+        domain = url.host;
130
 
130
 
131
         // The room (name) is the last component of pathname.
131
         // The room (name) is the last component of pathname.
132
         room = url.pathname;
132
         room = url.pathname;

Loading…
Отказ
Запис