Browse Source

修复测试环境

Michael Wang 4 năm trước cách đây
mục cha
commit
877628fe20
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/constants/constants.js

+ 1 - 1
src/constants/constants.js

@@ -7,7 +7,7 @@ if (process.env.VUE_APP_CORE_HOST_URL) {
 } else {
   origin = window.location.origin;
   host = window.location.host;
-  protocol = window.location.host.protocol.replace("http", "ws"); // http: => ws:
+  protocol = window.location.protocol.replace("http", "ws"); // http: => ws:
 }
 
 export const FACEID_LINENESS_URL =