Explorar o código

修复测试环境

Michael Wang %!s(int64=4) %!d(string=hai) anos
pai
achega
877628fe20
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 =