瀏覽代碼

修复测试环境

Michael Wang 4 年之前
父節點
當前提交
877628fe20
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 =