1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 13:15:25 +00:00
code-server-2/src
Anmol Sethi 58d72d53a1
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
2021-02-01 11:08:40 -05:00
..
browser favicon: Add dark mode support 2021-01-11 12:54:25 -05:00
common app.ts: Fix createApp to log all http server errors 2021-01-20 02:06:43 -05:00
node routes/index.ts: register proxy routes before body-parser 2021-02-01 11:08:40 -05:00