Update WebSocket configuration and clean up docker-compose

This commit is contained in:
Omar Sánchez Pizarro
2026-01-19 21:49:40 +01:00
parent 5cc96a2371
commit 9e99158b63
3 changed files with 3 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ const PROJECT_ROOT = process.env.PROJECT_ROOT || join(__dirname, '../..');
const app = express();
const server = createServer(app);
const wss = new WebSocketServer({ server });
const wss = new WebSocketServer({ server, path: '/ws' });
app.use(cors());
app.use(express.json());