mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Update app.js
This commit is contained in:
parent
dacece505d
commit
231c7e6a3b
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ const bodyParser = require('body-parser');
|
||||||
|
|
||||||
const configureServer = (httpServer) => {
|
const configureServer = (httpServer) => {
|
||||||
return new Server(httpServer, {
|
return new Server(httpServer, {
|
||||||
path: "/api/socket.io",
|
path: "/socket.io",
|
||||||
cors: {
|
cors: {
|
||||||
origin: "*",
|
origin: "*",
|
||||||
methods: ["GET", "POST"],
|
methods: ["GET", "POST"],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue