|
|
@@ -5,16 +5,16 @@ module.exports = defineConfig({
|
|
5
|
5
|
proxy: {
|
|
6
|
6
|
'/tiaojie': {
|
|
7
|
7
|
// target: 'https://api.xayunmei.com/tiaojieapitest', // 后端服务器地址
|
|
8
|
|
- target: 'http://172.16.1.26:6001',
|
|
|
8
|
+ target: 'http://121.40.189.20:6001',
|
|
9
|
9
|
changeOrigin: true, // 是否改变Origin头信息
|
|
10
|
10
|
secure : false,
|
|
11
|
11
|
pathRewrite: {
|
|
12
|
12
|
'^/tiaojie': '' // 将/api前缀重写为空字符串
|
|
13
|
13
|
},
|
|
14
|
14
|
},
|
|
15
|
|
- '/tiaojiez': {
|
|
16
|
|
- target: 'https://api.xayunmei.com/tiaojieapi', // 后端服务器地址
|
|
17
|
|
- // target: 'http://172.16.1.4:7001',
|
|
|
15
|
+ '/tiaojieprod': {
|
|
|
16
|
+ // target: 'https://api.xayunmei.com/tiaojieapi', // 后端服务器地址
|
|
|
17
|
+ target: 'http://121.40.189.20:7001',
|
|
18
|
18
|
changeOrigin: true, // 是否改变Origin头信息
|
|
19
|
19
|
secure : false,
|
|
20
|
20
|
pathRewrite: {
|