diff --git a/server.js b/server.js index 835486bd0..cad3f477c 100644 --- a/server.js +++ b/server.js @@ -47,6 +47,7 @@ app.use(bodyParser.urlencoded({ limit: "50mb", extended: true })); //app.use(enforce.HTTPS({ trustProtoHeader: true })); app.use( cors({ + credentials: true, origin: [ "https://test.imex.online", "http://localhost:3000",