diff --git a/apxtri.js b/apxtri.js index 9e7a363..5b66d9e 100755 --- a/apxtri.js +++ b/apxtri.js @@ -181,7 +181,6 @@ doms.forEach((d) => { }); const regtxt = `^http.?:\/\/(${originlst})`; let cor = false; -console.log(regtxt); const regorigin = new RegExp(regtxt); app.use((req, res, next) => { if (req.headers.origin == undefined) { @@ -195,7 +194,7 @@ app.use((req, res, next) => { "request origin:", req.headers.origin, "testcors:", - cor, "headers allowed: [", conf.api.exposedHeaders.join(','),"]" + cor, "headers allowed: [", conf.api.exposedHeaders.join(','),"] match with reg:", regtxt ); cors({ origin: cor,