increase max json size to 5mb so allow receiving larger singleplayer games

This commit is contained in:
evanpelle
2026-02-18 16:13:20 -06:00
parent 4f08e57304
commit 4a88f1d089
+1
View File
@@ -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 });