hurx 1 tháng trước cách đây
mục cha
commit
89ec81abba
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 1
      .env.production
  2. 0 1
      src/utils/platform.ts

+ 1 - 1
.env.production

@@ -15,7 +15,7 @@ VITE_APP_MONITOR_ADMIN = '/admin/applications'
 VITE_APP_SNAILJOB_ADMIN = '/snail-job'
 
 # 生产环境
-VITE_APP_BASE_API = '/prod-api'
+VITE_APP_BASE_API = 'https://one.yoe365.com'
 
 # 是否在打包时开启压缩,支持 gzip 和 brotli
 VITE_BUILD_COMPRESS = gzip

+ 0 - 1
src/utils/platform.ts

@@ -24,7 +24,6 @@ export function getPlatformCode(): PlatformCode {
     'localhost': 'crm',
     '127.0.0.1': 'crm',
     'crm.dev.local': 'crm',
-    'crm.dev.local': 'crm',
     'yuncai.dev.local': 'yuncai',
     'pms.dev.local': 'pms'
   };