Fix or hide unrisked Standard/ESLint mistakes

This commit is contained in:
François Michaud, Deepnox 2023-02-21 22:47:23 +01:00
parent 423c3063a8
commit 9acd329c3d

View File

@ -46,7 +46,7 @@ logger.info('app.locals.tokens key ', Object.keys(app.locals.tokens))
// Cors management // Cors management
const corsOptions = { const corsOptions = {
origin: (origin, callback) => { origin: (origin, callback) => {
if (origin ==== undefined) { if (origin === undefined) {
callback(null, true) callback(null, true)
} else if (origin.indexOf('chrome-extension') > -1) { } else if (origin.indexOf('chrome-extension') > -1) {
callback(null, true) callback(null, true)