-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
57 lines (54 loc) · 1.37 KB
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
devServer: {
proxy: {
"/api_yusmartcard": {
target: "https://szshmall.shuziys.com",
changeOrigin: true,
pathRewrite: {
"^/api_yusmartcard": "",
},
},
"/api_yuselection": {
target: "https://yyx.haomianjie.com",
changeOrigin: true,
pathRewrite: {
"^/api_yuselection": "",
},
},
"/api_farmproduct": {
// target: "http://83456030kf.zicp.fun:47124",
target: "http://47.116.207.65:47124",
changeOrigin: true,
pathRewrite: {
"^/api_farmproduct": "",
},
},
"/api_smartfarm": {
target: "https://szdashboardapi.uphicoo.com",
changeOrigin: true,
pathRewrite: {
"^/api_smartfarm": "",
},
},
// "/api_common": {
// target: "https://miracleycr.com:8888/api_common/incomeForce",
// changeOrigin: true,
// pathRewrite: {
// "^/api_common": "",
// },
// },
// "/aaaa": {
// target: "https://miracleycr.com:8888/aaaa/smartCard",
// changeOrigin: true,
// pathRewrite: {
// "^/aaaa": "",
// },
// },
},
client: {
overlay: false,
},
},
});