@@ -36,7 +36,6 @@ const io = new Server(server, {
|
||||
"https://www.imex.online",
|
||||
],
|
||||
methods: ["GET", "POST"],
|
||||
credentials: true,
|
||||
},
|
||||
});
|
||||
exports.io = io;
|
||||
@@ -49,7 +48,7 @@ app.use(bodyParser.json({ limit: "50mb" }));
|
||||
app.use(bodyParser.urlencoded({ limit: "50mb", extended: true }));
|
||||
//app.use(enforce.HTTPS({ trustProtoHeader: true }));
|
||||
app.use(
|
||||
cors({ credentials: true })
|
||||
cors()
|
||||
// cors({
|
||||
// credentials: true,
|
||||
// origin: [
|
||||
|
||||
Reference in New Issue
Block a user