From 9acd329c3dbc9ce92d7764273a7fdd9d2410d906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Michaud?= Date: Tue, 21 Feb 2023 22:47:23 +0100 Subject: [PATCH] Fix or hide unrisked Standard/ESLint mistakes --- src/apxtrib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)