Skip to content

glob pattern in exceptRoutes field of config/shield.ts #1399

Answered by thetutlage
iammrsea asked this question in Help
Discussion options

You must be logged in to vote

Yes, currently shield allows defining route patterns and not glob patterns. I believe, I can add support for a function that must return a boolean.

exceptRoutes: (ctx) => {
   // perform your check
   return true // to ignore
   return false // to not ignore
}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@iammrsea
Comment options

Comment options

You must be logged in to vote
1 reply
@iammrsea
Comment options

Answer selected by iammrsea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants