From 4bbcafbdd3fc93192f0225ce087b3b6746f87510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=96=87=E5=8F=AF?= <1041367524@qq.com> Date: Tue, 26 Apr 2022 18:17:07 +0800 Subject: [PATCH] =?UTF-8?q?conf:=20=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 2 +- vite.config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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/, ''), },