[mirotalk] - fix getServerUrl

This commit is contained in:
Miroslav Pejic
2021-03-13 10:39:05 +01:00
parent 663df189c4
commit 6efb0ce4d7
+2 -1
View File
@@ -179,7 +179,8 @@ function getServerUrl() {
"http" +
(location.hostname == "localhost" ? "" : "s") +
"://" +
location.hostname
location.hostname +
(location.hostname == "localhost" ? ":" + signalingServerPort : "")
);
}