From dfec0257c8a662fec8e3f27667355f9b1ca09a20 Mon Sep 17 00:00:00 2001 From: fujunling <2984387807@qq.com> Date: 星期二, 30 五月 2023 09:50:38 +0800 Subject: [PATCH] 解决api配置冲突 --- Source/UBCS-WEB/vue.config.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/vue.config.js b/Source/UBCS-WEB/vue.config.js index 2577e72..f2b7e3d 100644 --- a/Source/UBCS-WEB/vue.config.js +++ b/Source/UBCS-WEB/vue.config.js @@ -26,11 +26,12 @@ proxy: { '/api': { //鏈湴鏈嶅姟鎺ュ彛鍦板潃 - //target: 'http://localhost:37000', - target: 'http://192.168.3.7:37000', - //target: 'http://dev.vci-tech.com:37000', + // target: 'http://localhost:37000', + //target: 'http://192.168.3.7:37000', + target: 'http://dev.vci-tech.com:37000', + // target: 'http://192.168.1.51:37000/', //杩滅▼婕旂ず鏈嶅姟鍦板潃,鍙敤浜庣洿鎺ュ惎鍔ㄩ」鐩� - //target: 'https://saber.bladex.vip/api', + // target: 'https://saber.bladex.vip/api', ws: true, pathRewrite: { '^/api': '/' -- Gitblit v1.9.3