1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| module.exports = {
| lintOnSave: false,
| publicPath: "./",
| devServer: {
| proxy: {
| "/yssh": {
| target: "http://192.168.22.19:8080/yssh/", //接口域名
| changeOrigin: true, //是否跨域
| ws: true, //是否代理 websockets
| secure: false, //是否https接口
| pathRewrite: {
| //路径重置
| "^/yssh": "",
| },
| },
| },
| },
| };
|
|