http-proxy-middleware
http-proxy-middleware copied to clipboard
:zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
## Description Use `make` in npm scripts ## Motivation and Context - Simplify npm scripts with `make` (using `make` dependencies, instead of linking different npm `pre` scripts) - `make install`:...
### Checks - [X] I understand project setup issues should be asked on [StackOverflow](https://stackoverflow.com/questions/tagged/http-proxy-middleware) or in [GitHub Discussions](https://github.com/chimurai/http-proxy-middleware/discussions). - [X] I updated to latest `http-proxy-middleware`. ### Describe the bug (be...
Provide better Type support. Not only for express, but also fastify, next.js, etc... ### Related issues - https://github.com/chimurai/http-proxy-middleware/pull/478 - https://github.com/chimurai/http-proxy-middleware/pull/683 - https://github.com/chimurai/http-proxy-middleware/issues/692 - https://github.com/chimurai/http-proxy-middleware/issues/650 - https://github.com/chimurai/http-proxy-middleware/pull/603 - https://github.com/chimurai/http-proxy-middleware/issues/632 - https://github.com/chimurai/http-proxy-middleware/pull/687...
### `yarn why http-proxy-middleware` OR `npm ls http-proxy-middleware` output (mask private folder names with *****) ```shell ── [email protected] ``` ### - [X] I understand project setup issues should be asked...
### Checks - [X] I understand project setup issues should be asked on [StackOverflow](https://stackoverflow.com/questions/tagged/http-proxy-middleware) or in [GitHub Discussions](https://github.com/chimurai/http-proxy-middleware/discussions). - [x] I updated to latest `http-proxy-middleware`. ### Describe the bug (be...
### Describe the feature you'd love to see I implemented an react app to access k8s api directly. Everything work well until I tried to access the an interface with...
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client. I want to use both `pathRewrite` and `followRedirects`. I use the vue webpack config this funtions. But When...
Having proxy configured with `onProxyReq` like: ``` proxy(gatewayUrl, { target: destinationUrl, pathRewrite: { [`^${gatewayUrl}`]: '' }, changeOrigin: true, logProvider: () => logger, ...options, onProxyReq: async (proxyReq, req) => await addAuthHeader(proxyReq,...
### Describe the feature you'd love to see I have been struggling implementing my use-case and wanted to explain what my needs are to see if there are any thoughts...
Perhaps I'm using the library incorrectly, or unaware of its limitations- but I recently found that I've had to put http-proxy-middleware as the last middleware in my express config. ###...