Browse Source

websocket修复

Michael Wang 4 years ago
parent
commit
7cedc3808e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/constants/constants.js

+ 2 - 2
src/constants/constants.js

@@ -16,10 +16,10 @@ export const FACEID_LINENESS_URL =
 export const TK_SERVER_HTML_URL = origin;
 
 export const VUE_APP_WK_SERVER_SOCKET =
-  protocol + "://" + host + "/api/ws/faceBiopsy";
+  protocol + "//" + host + "/api/ws/faceBiopsy";
 
 export const VUE_APP_WK_SERVER_SOCKET_FOR_AUDIO =
-  protocol + "://" + host + "/api/ws/fileAnswer";
+  protocol + "//" + host + "/api/ws/fileAnswer";
 
 export const VUE_APP_CONFIG_FILE_SEVER_URL =
   process.env.VUE_APP_CONFIG_FILE_SEVER_URL;