Skip to content

Commit

Permalink
Force SSL, WSS
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmuhi committed Jun 26, 2018
1 parent c90a357 commit f87c5e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web_app/js/signalingchannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

// This class implements a signaling channel based on WebSocket.
var SignalingChannel = function(wssUrl, wssPostUrl) {
this.wssUrl_ = wssUrl;
this.wssPostUrl_ = wssPostUrl;
this.wssUrl_ = wssUrl.replace('ws:', 'wss:');
this.wssPostUrl_ = wssPostUrl.replace('http:', 'https:');
this.roomId_ = null;
this.clientId_ = null;
this.websocket_ = null;
Expand Down

0 comments on commit f87c5e9

Please sign in to comment.