mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
pass isDev
This commit is contained in:
parent
1ffd776597
commit
767e02f227
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ const app = express();
|
||||||
const cors = require("cors");
|
const cors = require("cors");
|
||||||
const bodyParser = require('body-parser');
|
const bodyParser = require('body-parser');
|
||||||
|
|
||||||
const configureServer = (httpServer) => {
|
const configureServer = (httpServer, isDev) => {
|
||||||
return new Server(httpServer, {
|
return new Server(httpServer, {
|
||||||
path: "/socket.io",
|
path: "/socket.io",
|
||||||
cors: {
|
cors: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue