diff --git a/.env.prod b/.env.prod index bd863a8..72ffe1a 100644 --- a/.env.prod +++ b/.env.prod @@ -1,2 +1,2 @@ -VITE_BASE_URL=https://gateway.mashibing.com +VITE_BASE_URL=https://like-gateway.mashibing.com VITE_REQUEST_TIMEOUT=20000 diff --git a/vite.config.js b/vite.config.js index bf754d1..803dfae 100644 --- a/vite.config.js +++ b/vite.config.js @@ -23,9 +23,9 @@ export default (configEnv) => { // target: 'http://192.168.10.109:8090/', // 显雨 // target: 'http://192.168.10.251:8090', // 高玉 // target: 'http://192.168.10.67:8090', // 罗战 - target: 'https://k8s-horse-gateway.mashibing.cn/', // 测试地址 + // target: 'https://k8s-horse-gateway.mashibing.cn/', // 测试地址 // target: 'https://gateway.mashibing.cn', // 预发地址 - // target: 'https://gateway.mashibing.com', // 生产环境 + target: 'https://like-gateway.mashibing.com', // 生产环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ''), },