Hey! I had a similar issue a while back. For modifying the request path in a Node Express proxy setup, I used `http-proxy-middleware` and it worked like a charm. You can use the `pathRewrite` option to strip or add prefixes to the path. Here's a quick snippet:
```javascript
const { createProxyMiddleware } = require('http-proxy-middleware');
app.use('/api', createProxyMiddleware({
target: 'http://your-target-server.com',
pathRewrite: { '^/api': '' }, // strips '/api' from the path
}));
```
This should help you with the node express proxy change request path issue. If you need more advanced stuff, check out their docs!
```javascript
const { createProxyMiddleware } = require('http-proxy-middleware');
app.use('/api', createProxyMiddleware({
target: 'http://your-target-server.com',
pathRewrite: { '^/api': '' }, // strips '/api' from the path
}));
```
This should help you with the node express proxy change request path issue. If you need more advanced stuff, check out their docs!
