Set JSON payload limit to 100mb
Increase JSON payload limit to 100mb for requests.
This commit is contained in:
parent
55daeea0cd
commit
9850334202
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const app: Application = express();
|
|||
|
||||
// Middleware
|
||||
app.use(cors());
|
||||
app.use(express.json());
|
||||
app.use(express.json({ limit: '100mb' }));
|
||||
|
||||
// Request logging middleware
|
||||
app.use((req, res, next) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue