Skip to content

Commit

Permalink
use express json middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
ebubae committed Nov 7, 2024
1 parent a225437 commit 868e94d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import './shared/utils/wrapConsole';
const app = express();

app.use(compression());
app.use(express.json());
app.use(bodyParser.urlencoded({ extended: true, limit: '50mb' }));
app.use(bodyParser.json({ limit: '50mb' }));
app.use(bodyParser.raw());
Expand Down

0 comments on commit 868e94d

Please sign in to comment.