From 64dba9f0b110a3477dbeee68ef929624174852fb Mon Sep 17 00:00:00 2001 From: 100011797 <2642441182@qq.com> Date: Tue, 21 Mar 2023 10:10:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index f501aee1..3686a5bf 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -92,11 +92,9 @@ export default defineConfig(({ mode}) => { [env.VITE_APP_BASE_API]: { // target: 'http://192.168.33.22:8800', // target: 'http://192.168.32.244:8881', - // target: 'http://47.112.135.104:5096', // opcua - target: 'http://120.77.179.54:8844', // 120测试 - // target: 'http://47.108.63.174:8845', // 测试 - // target: 'http://120.77.179.54:8844', - ws: 'ws://120.77.179.54:8844', + // target: 'http://120.77.179.54:8844', // 120测试 + target: 'http://192.168.33.46:8844', // 本地开发环境 + ws: 'ws://192.168.33.46:8844', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, '') }