src/setupProxy.js
@@ -33,12 +33,12 @@ } })) // app.use(proxy('/local', { // target: 'http://127.0.0.1:8888', // secure: false, // changeOrigin: true, // pathRewrite: { // '^/local': '/' // } // })) app.use(proxy('/wxpay', { target: `${host}/${service}wxpay`, secure: false, changeOrigin: true, pathRewrite: { '^/wxpay': '/' } })) }