diff --git a/CHANGELOG.md b/CHANGELOG.md index 2850b5d3..3d43f1dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ Version 1.2.3 - Disabled uploading mods to the master server by default as this is mostly just a waste of bandwidth with the mod portal being integrated into the game now. +- Fixed researchSync breaking with heavily modded games due to the tech tree + exceeding the default 100kb limit on JSON payloads. Version 1.2.2 diff --git a/master.js b/master.js index 568f2e66..2fb5aee8 100644 --- a/master.js +++ b/master.js @@ -83,7 +83,9 @@ const fileUpload = require('express-fileupload'); var app = express(); app.use(cookieParser()); -app.use(bodyParser.json()); +app.use(bodyParser.json({ + limit: '10mb', +})); app.use(bodyParser.urlencoded({ parameterLimit: 100000, limit: '10mb',