Update app.js

This commit is contained in:
louis-antoine-etsmtl 2024-04-05 17:34:39 -04:00 committed by GitHub
parent dacece505d
commit 231c7e6a3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ const bodyParser = require('body-parser');
const configureServer = (httpServer) => {
return new Server(httpServer, {
path: "/api/socket.io",
path: "/socket.io",
cors: {
origin: "*",
methods: ["GET", "POST"],