From fdb31bb29084e7ee115ac70515bfc83ae4fb6dbd Mon Sep 17 00:00:00 2001 From: david Date: Thu, 5 Sep 2019 16:53:33 +0200 Subject: [PATCH] . --- core/express.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/express.js b/core/express.js index 4244b36..61887bb 100644 --- a/core/express.js +++ b/core/express.js @@ -52,6 +52,8 @@ app.use(cors({ return callback(null, true); } + console.log('origin =>', origin); + if (allowedOrigins.indexOf(origin) === -1) { var msg = 'The CORS policy for this site does not ' + 'allow access from the specified Origin.';