gleak icon indicating copy to clipboard operation
gleak copied to clipboard

Looks like there isn't a way to configure the whitelist for the gleak.middleware instance created internally?

Open shzmilydahlke opened this issue 9 years ago • 1 comments

I want to use the express api middleware to have gleak run on every http request, but doesn't look like this use is designed to allow whitelisting (as the Gleak instance is internal to the method and inaccessible). Is there a way to open up this path to be whitelist configurable?

shzmilydahlke avatar Jul 14 '16 19:07 shzmilydahlke

yeah sounds good. we could refactor the middleware method to accept an options object and add a new property for the whitelist option or similar. PR?

aheckmann avatar Jul 27 '16 21:07 aheckmann