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