瀏覽代碼

Removes the protocol from the callstats.io conferenceID.

master
Boris Grozev 10 年之前
父節點
當前提交
6cd4bb8651
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      modules/statistics/CallStats.js

+ 1
- 2
modules/statistics/CallStats.js 查看文件

21
         this.userID =  APP.xmpp.myResource();
21
         this.userID =  APP.xmpp.myResource();
22
 
22
 
23
         var location = window.location;
23
         var location = window.location;
24
-        this.confID = location.protocol + "//" +
25
-            location.hostname + location.pathname;
24
+        this.confID = location.hostname + location.pathname;
26
 
25
 
27
         //userID is generated or given by the origin server
26
         //userID is generated or given by the origin server
28
         callStats.initialize(config.callStatsID,
27
         callStats.initialize(config.callStatsID,

Loading…
取消
儲存