소스 검색

websocket域名统一指向prod

john 2 년 전
부모
커밋
8aaaa29f55
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/utils/index.js

+ 1 - 1
src/utils/index.js

@@ -205,7 +205,7 @@ export function requestInit() {
 
 // websocket 链接
 export function getUrl() {
-  // return `https://crm.kerryplus.com/xcrm-api`; // TODO: 临时更改websocket域名为prod
+  return `https://crm.kerryplus.com/xcrm-api`; // TODO: 临时更改websocket域名为prod
   // 如果 kerry+ 这边的访问环境是 sl 或者 lt,需要把 wss 指向 qa 环境。
   const href = `${window.location.href}`;
   if (/dev-|8080/.test(href)) {