Allow imports of larger files

pull/222/head
Candid Dauth 2022-02-18 18:46:43 +01:00
rodzic 344ba3ec74
commit d50fda00c2
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -36,7 +36,8 @@ export default class Socket {
constructor(server: HttpServer, database: Database) { constructor(server: HttpServer, database: Database) {
const io = new Server(server, { const io = new Server(server, {
cors: { origin: true }, cors: { origin: true },
allowEIO3: true allowEIO3: true,
maxHttpBufferSize: 100e6
}); });
io.sockets.on("connection", (socket: SocketIO) => { io.sockets.on("connection", (socket: SocketIO) => {