http-proxy-middleware icon indicating copy to clipboard operation
http-proxy-middleware copied to clipboard

pathRewrite not redirecting to a different page

Open twclark0 opened this issue 8 years ago • 0 comments

Expected behavior

When path: https://localhost.com/plans/reports is navigated to, it will redirect to https://localhost.com/plan-analytics/reports

Actual behavior

Continues to https://localhost.com/plans/reports

Setup

  proxy: {
    '/plans/reports': {
      pathRewrite: {'/plans/reports' : '/plan-analytics/reports'}
    }
  }

twclark0 avatar Jul 02 '18 21:07 twclark0