mirror of https://github.com/OpenVidu/openvidu.git
Fixed url error
parent
a0d9d65702
commit
8e4e3eb45a
|
@ -18,7 +18,7 @@ version: '3.1'
|
|||
services:
|
||||
|
||||
openvidu-server:
|
||||
image: openvidu/openvidu-server:2.13.0-beta3
|
||||
image: openvidu/openvidu-server:2.13.0-beta4
|
||||
restart: on-failure
|
||||
network_mode: host
|
||||
volumes:
|
||||
|
|
|
@ -539,8 +539,8 @@ public class OpenviduConfig {
|
|||
OpenViduServer.wsUrl = publicUrl.replace("http://", "wss://");
|
||||
}
|
||||
|
||||
if (!OpenViduServer.wsUrl.startsWith("wss://")) {
|
||||
OpenViduServer.wsUrl = "wss://" + OpenViduServer.wsUrl;
|
||||
if (!publicUrl.startsWith("wss://")) {
|
||||
OpenViduServer.wsUrl = "wss://" + publicUrl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue