Procházet zdrojové kódy

Merge pull request #63 from John-Hong/John/release-2.7.0/KIP-9392

修改环境指向
Tron před 2 roky
rodič
revize
2d839406f8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/utils/index.js

+ 1 - 1
src/utils/index.js

@@ -214,7 +214,7 @@ export function requestInit() {
 
 
 // websocket 链接
 // websocket 链接
 export function getUrl() {
 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 环境。
   // 如果 kerry+ 这边的访问环境是 sl 或者 lt,需要把 wss 指向 qa 环境。
   const href = `${ window.location.href }`;
   const href = `${ window.location.href }`;
   if ( /dev-|8080/.test(href) ) {
   if ( /dev-|8080/.test(href) ) {