src/setupProxy.js @@ -39,4 +39,13 @@ '^/wxpay': '/' } })) app.use(proxy('/trans', { target: `${host}/${service}trans`, secure: false, changeOrigin: true, pathRewrite: { '^/trans': '/' } })) }