Pārlūkot izejas kodu

修复测试环境

Michael Wang 4 gadi atpakaļ
vecāks
revīzija
877628fe20
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 =