Skip to content

Commit b5901d0

Browse files
committed
refactor(proxy): remove bodyParser.raw from app setup
1 parent d13686d commit b5901d0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/proxy/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import express, { Application } from 'express';
2-
import bodyParser from 'body-parser';
32
import http from 'http';
43
import https from 'https';
54
import fs from 'fs';
@@ -57,8 +56,6 @@ export const proxyPreparations = async () => {
5756
// just keep this async incase it needs async stuff in the future
5857
const createApp = async (): Promise<Application> => {
5958
const app = express();
60-
// Setup the proxy middleware
61-
app.use(bodyParser.raw(options));
6259
app.use('/', router);
6360
return app;
6461
};

0 commit comments

Comments
 (0)