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
A
Anmol Sethi committed
58d72d53a1cb36fb39592bdaaea2e37106fadebf
Parent: f5cf3fd