update body parser

This commit is contained in:
2024-11-27 01:07:35 +07:00
parent 491e716e34
commit e073c1d0b7
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import bodyParser from 'body-parser';
import express from 'express';
export class JsonHelper {
export class BodyParserHelper {
static setup(app: express.Application) {
app.use(bodyParser.urlencoded({
extended: true