Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow adding "req._routeBlacklists.res" in custom routes #275

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mhelal0
Copy link

@mhelal0 mhelal0 commented Jan 12, 2022

by using the below code you will not be able to exclude some responses body
expressWinston.responseWhitelist.push('body');

we have to have the option to exclude the binary response because it will cause the error "STRING_TOO_LONG" and memory leak

so I just added the option to accept a black list of specific routes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant