From bcca964f31af412c155c2eb8c5bf1ef6249a457e Mon Sep 17 00:00:00 2001 From: Nabil Ould Hamou <38989045+NabilOuldHamou@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:37:21 +0100 Subject: [PATCH] fix: body size --- docker-compose.yml | 1 + src/lib/stores/socket.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b2ed544..ccc7805 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/src/lib/stores/socket.ts b/src/lib/stores/socket.ts index 7713887..6248cfa 100644 --- a/src/lib/stores/socket.ts +++ b/src/lib/stores/socket.ts @@ -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