From 9e730d2ae1a22b1ecb9dca1ee0807535291b28c5 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期日, 23 四月 2023 14:03:42 +0800
Subject: [PATCH] 1.上云部署
---
vue.config.js | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 15a07d0..808be46 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -53,7 +53,8 @@
proxy: {
[process.env.VUE_APP_BASE_API]: {
// target: 'http://121.196.36.24:8013', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 鏈湴寮�鍙戞湇鍔″櫒
- target: 'http://192.168.188.180:8001', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 绂忚幈娉�
+ // target: 'http://192.168.188.180:8001', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 绂忚幈娉� 锛堟湭涓婁簯锛�
+ target: 'http://xyfhk5.natappfree.cc', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 绂忚幈娉� 锛堜笂浜戯級
changeOrigin: true, // 璇锋眰璺ㄥ煙鏃讹紝闇� 閰嶇疆姝ら」
pathRewrite: { // 璺緞閲嶅啓,鏇挎崲target涓殑璇锋眰鍦板潃
@@ -78,14 +79,14 @@
jQuery: 'jquery',
$: 'jquery'
})
- ],
+ ]
// module: {
- // rules: [
- // {
- // test: /.vue$/,
- // loader: 'vue-loader'
- // }
- // ]
+ // rules: [
+ // {
+ // test: /.vue$/,
+ // loader: 'vue-loader'
+ // }
+ // ]
// }
},
chainWebpack(config) {
--
Gitblit v1.9.3