diff --git a/src/apxtrib.js b/src/apxtrib.js index 40c8118..3d006d7 100755 --- a/src/apxtrib.js +++ b/src/apxtrib.js @@ -46,7 +46,7 @@ logger.info('app.locals.tokens key ', Object.keys(app.locals.tokens)) // Cors management const corsOptions = { origin: (origin, callback) => { - if (origin ==== undefined) { + if (origin === undefined) { callback(null, true) } else if (origin.indexOf('chrome-extension') > -1) { callback(null, true)