mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 13:10:16 +00:00
increase max json size to 5mb so allow receiving larger singleplayer games
This commit is contained in:
@@ -46,6 +46,7 @@ export async function startWorker() {
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const app = express();
|
||||
app.use(express.json({ limit: "5mb" }));
|
||||
const server = http.createServer(app);
|
||||
const wss = new WebSocketServer({ noServer: true });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user