Fix or hide unrisked Standard/ESLint mistakes
This commit is contained in:
parent
423c3063a8
commit
9acd329c3d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user