File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1111 "preinstall" : " source /usr/local/opt/nvm/nvm.sh; nvm use; command -v link-module-alias && link-module-alias clean || true" ,
1212 "format" : " prettier-standard './**/**/*.js'" ,
1313 "lint" : " npm run lint:js" ,
14- "lint:eslint" : " eslint --ignore-path .gitignore --ignore-pattern server/bin" ,
14+ "lint:eslint" : " eslint --ignore-path .eslintignore --ignore-pattern server/bin" ,
1515 "lint:eslint:fix" : " eslint --ignore-path .eslintignore --ignore-pattern server/bin --fix" ,
1616 "lint:js" : " npm run lint:eslint -- . " ,
1717 "lint:staged" : " lint-staged" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import jwks from 'jwks-rsa';
55import { apiFailure } from 'utils/apiUtils' ;
66import { SCOPE_TYPE } from 'utils/constants' ;
77import message from 'utils/i18n/message' ;
8+ import log from 'utils/logger' ;
89import { paths } from './paths' ;
910
1011export const checkRole = async ( req , res , next ) => {
@@ -56,6 +57,7 @@ function getRoutePath(req) {
5657 return req . baseUrl + ( path === '/' ? '' : path ) ;
5758}
5859export const checkJwt = ( req , res , next ) => {
60+ log . info ( 'incoming request::' , getRoutePath ( req ) ) ;
5961 let pathMatchFound = false ;
6062 const routePath = getRoutePath ( req ) ;
6163 paths . map ( route => {
You can’t perform that action at this time.
0 commit comments