Last active
August 20, 2022 03:36
-
-
Save Tonel/a0d76a7f7673b17c92b12d6b9cba8557 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// index.js or server.js | |
const express = require("express") | |
// ... | |
const app = express() | |
// ... | |
// fixing "413 Request Entity Too Large" errors | |
app.use(express.json({limit: "10mb", extended: true})) | |
app.use(express.urlencoded({limit: "10mb", extended: true, parameterLimit: 50000})) | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment