|
@@ -173,7 +173,7 @@ export function wxToLoginCallback( path,callback ) {
|
|
|
export function initEnv() {
|
|
|
const href = window.location.href;
|
|
|
console.log('当前页面的url地址 ',href);
|
|
|
- if ( /dev-|8080/.test(href) ) {
|
|
|
+ if ( /dev-|808[0-9]/.test(href) ) {
|
|
|
window.env = 'qa';
|
|
|
window.profileApi = 'https://qa-apim.kerryplus.com/c/api';
|
|
|
window.cmrApi = 'https://qa-crm.kerryplus.com/xcrm-api/api';
|