diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a3faefe..3d43f1dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ Changelog ========= +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/README.md b/README.md index 05fea855..109b75f0 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Discord for development/support/play: https://discord.gg/5XuDkje ## Important notice This is the stable branch of the project. The -[master branch][http://github.com/clusterio/factorioClusterio/tree/master] +[master branch](http://github.com/clusterio/factorioClusterio/tree/master) is undergoing significant changes that breaks compatibility to plugins and existing installations and is not recommended for use. diff --git a/config.json.dist b/config.json.dist index b3373b6e..f60012f0 100644 --- a/config.json.dist +++ b/config.json.dist @@ -50,7 +50,7 @@ "__comment6.5": "When the master is undersupplied, we have 3 different modes to 'fairly' distribute items. First to ask gets all, dole division using weird formula or experimental neural net tries to make stuff as fair as possible. Feel free to play around.", "disableFairItemDistribution": false, "useNeuralNetDoleDivider": true, - "uploadModsToMaster": true, + "uploadModsToMaster": false, "msBetweenCommands": 10, "allowRemoteCommandExecution": true, "enableCrossServerShout": true, 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', diff --git a/package.json b/package.json index 238fa283..d2bab08e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clusterio", - "version": "1.2.2", + "version": "1.2.3-alpha", "description": "Interserver communication for factorio", "repository": "https://github.com/Danielv123/factorioClusterio", "main": "master.js",