fix: body size
This commit is contained in:
parent
9a46018399
commit
bcca964f31
2 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue