Quellcode durchsuchen

websocket修复

Michael Wang vor 4 Jahren
Ursprung
Commit
7cedc3808e
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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;