module.exports = {
    devServer: {
        port: 80,     // 端口ApplicationPath
      proxy: {
          '/api':{//调取功能接口
              target:'http://1.193.162.246:18402/WorkFlowWebService60NodeJS/Query.asmx',
              ws:true,
              changeorigin:true,
              pathRewrite:{
                  '^/api':'',
              }
          },
         '/pdff':{//调取pdf地址
              target:'http://1.193.162.246:18402/WorkFlowWebService60NodeJS/',
              ws:true,
              changeorigin:true,
              pathRewrite:{
                  '^/pdff':'',
              }
          },
            '/donglong':{//调取OA地址
                target:'http://192.168.1.102:8080/',
                ws:true,
                changeorigin:true,
                pathRewrite:{
                  '^/donglong':'',
                }
          },
        '/oaurl':{//调取OA地址
                target:'http://oa.chinahonden.com/services/OfsTodoDataWebService',
                ws:true,
                changeorigin:true,
                pathRewrite:{
                  '^/oaurl':'',
                }
          },
      }
    }
}