Here are the route configurations:
<Route path='/' component={CoreLayout}> <IndexRoute component={HomeView}/> <Route path='/404' component={NotFoundView}/> <Redirect from='*' to='/404'/> </Route>
Here is the proxy configuration for webpack-dev server:
proxy: { '/service': 'http://localhost:8080' }
The express server listens for 3000 ports.
I hope that all requests sent to http: // localhost: 3000 / service will be transferred to http: // localhost: 8080 , but it seems that response-router is processing all the requests, and the proxy server is down.
Does any body know how to fix this? Thank you in advance
source share