king
2020-11-10 a9ac16fecc0cf9bc66dfaefe4e9b35fa3c722812
src/setupProxy.js
@@ -22,7 +22,7 @@
    }
  }))
  app.use(proxy('/Upload', { // 登录接口
  app.use(proxy('/Upload', {
    target: `${host}/${service}zh-CN/Home/Upload`,
    secure: false,
    changeOrigin: true,
@@ -31,12 +31,12 @@
    }
  }))
  app.use(proxy('/local', {
    target: 'http://127.0.0.1:8888',
  app.use(proxy('/wxpay', {
    target: `${host}/${service}wxpay`,
    secure: false,
    changeOrigin: true,
    pathRewrite: {
    '^/local': '/'
    '^/wxpay': '/'
    }
  }))
}