Increase body limit to 1mb
This commit is contained in:
parent
ce96694f13
commit
9f4e036173
1
index.js
1
index.js
|
@ -9,6 +9,7 @@ const app = express();
|
||||||
app.use(morgan('combined'));
|
app.use(morgan('combined'));
|
||||||
app.use(bodyParser.text({
|
app.use(bodyParser.text({
|
||||||
type: "text/html",
|
type: "text/html",
|
||||||
|
limit: '1mb',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
app.get('/status', (req, res) => {
|
app.get('/status', (req, res) => {
|
||||||
|
|
Loading…
Reference in New Issue