From 4240f70d29d85367f8294013f4f528042e243f40 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 08 四月 2024 15:09:19 +0800 Subject: [PATCH] 切换真实数据接口 --- Source/ProjectWeb/vue.config.js | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Source/ProjectWeb/vue.config.js b/Source/ProjectWeb/vue.config.js index c5a5155..5a976af 100644 --- a/Source/ProjectWeb/vue.config.js +++ b/Source/ProjectWeb/vue.config.js @@ -22,19 +22,19 @@ }, //寮�鍙戞ā寮忓弽鍚戜唬鐞嗛厤缃紝鐢熶骇妯″紡璇蜂娇鐢∟ginx閮ㄧ讲骞堕厤缃弽鍚戜唬鐞� devServer: { - port: 8080, - // proxy: { - // '/api': { - // //鏈湴鏈嶅姟鎺ュ彛鍦板潃 - // target: 'http://192.168.0.106:37000', - // // target: 'http://dev.vci-tech.com:37000', - // //杩滅▼婕旂ず鏈嶅姟鍦板潃,鍙敤浜庣洿鎺ュ惎鍔ㄩ」鐩� - // //target: 'https://saber.bladex.vip/api', - // ws: true, - // pathRewrite: { - // '^/api': '/' - // } - // } - // } + port: 12000, + proxy: { + '/api': { + //鏈湴鏈嶅姟鎺ュ彛鍦板潃 + target: 'http://192.168.0.103:12000/web', + // target: 'http://dev.vci-tech.com:37000', + //杩滅▼婕旂ず鏈嶅姟鍦板潃,鍙敤浜庣洿鎺ュ惎鍔ㄩ」鐩� + //target: 'https://saber.bladex.vip/api/', + ws: true, + pathRewrite: { + '^/api': '/' + } + } + } } }; -- Gitblit v1.9.3