diff --git a/back/loaders/express.ts b/back/loaders/express.ts index 1bf25cfd..cf2b8546 100644 --- a/back/loaders/express.ts +++ b/back/loaders/express.ts @@ -83,7 +83,7 @@ export default ({ app }: { app: Application }) => { if ( !headerToken && originPath && - config.apiWhiteList.includes(originPath) + jwtWhitelist.includes(originPath) ) { return next(); }