Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
routes/index.ts: register proxy routes before body-parser
Any json or urlencoded request bodies were being consumed by body-parser before they could be proxied. That's why requests without Content-Type were proxied correctly as body-parser would not consume their body. This allows the http-proxy package to passthrough the request body correctly in all instances. Closes #2377
- Loading branch information