浏览代码

change proxy

许成详 6 年前
父节点
当前提交
3d4520f163
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      config/index.js

+ 2
- 2
config/index.js 查看文件

14
         // target: 'https://dp.huiju360.com.cn/hj_operations',
14
         // target: 'https://dp.huiju360.com.cn/hj_operations',
15
         // target: 'http://192.168.0.62:8080', //wf
15
         // target: 'http://192.168.0.62:8080', //wf
16
         // target: 'http://127.0.0.1:8080', 
16
         // target: 'http://127.0.0.1:8080', 
17
-        // target: 'http://192.168.0.11:8080', //ys
17
+        target: 'http://192.168.0.11:8080', //ys
18
         // target: 'http://192.168.0.125:8080', //hyq
18
         // target: 'http://192.168.0.125:8080', //hyq
19
-        target: 'http://dev.ycjcjy.com', //frp
19
+        // target: 'http://dev.ycjcjy.com', //frp
20
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
20
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
21
         // pathRewrite: {
21
         // pathRewrite: {
22
         //   '^/api': 'api'
22
         //   '^/api': 'api'