chore: update pnpm-lock.yaml to include new @nestjs/websockets and @nestjs/platform-socket.io versions, and remove CORS configuration from main.ts

This commit is contained in:
Ahmed Bouhuolia
2025-10-18 13:31:14 +02:00
parent dbc71c2555
commit 803e3980d3
2 changed files with 141 additions and 30 deletions

View File

@@ -18,12 +18,6 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.setGlobalPrefix('/api');
// Enable CORS for socket.io
app.enableCors({
origin: true,
credentials: true,
});
// create and mount the middleware manually here
app.use(new ClsMiddleware({}).use);