fix: body size

This commit is contained in:
Nabil Ould Hamou 2024-12-18 10:37:21 +01:00 committed by GitHub
parent 9a46018399
commit bcca964f31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@ services:
environment:
- DATABASE_URL=mongodb://temp-root-username:temp-password@mongodb/chat_projetweb?authSource=admin
- JWT_SECRET=ba63466f102443f4bb6f3670891358bc4488d0c717f6ebcd3ee3c5144e55fe2d
- BODY_SIZE_LIMIT=Infinity
ports:
- "3000:3000"
networks:

View file

@ -2,7 +2,7 @@ import { io } from "socket.io-client";
// Initialisation de la socket
export const initSocket = () => {
const socketInstance = io("https://arbres.oxyjen.io");
const socketInstance = io("http://localhost:3000");
let socketId = null;
return socketInstance