From d50fda00c25b63e77a74296e55766398a708305f Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Fri, 18 Feb 2022 18:46:43 +0100 Subject: [PATCH] Allow imports of larger files --- server/src/socket.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/socket.ts b/server/src/socket.ts index 3c32600e..4d5335a2 100644 --- a/server/src/socket.ts +++ b/server/src/socket.ts @@ -36,7 +36,8 @@ export default class Socket { constructor(server: HttpServer, database: Database) { const io = new Server(server, { cors: { origin: true }, - allowEIO3: true + allowEIO3: true, + maxHttpBufferSize: 100e6 }); io.sockets.on("connection", (socket: SocketIO) => {