kopia lustrzana https://github.com/FacilMap/facilmap
Allow imports of larger files
rodzic
344ba3ec74
commit
d50fda00c2
|
@ -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) => {
|
||||||
|
|
Ładowanie…
Reference in New Issue