We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a611589 commit c90bf15Copy full SHA for c90bf15
src/servers/server.ts
@@ -380,7 +380,7 @@ export class ExpressServer {
380
const skip = this.config.requestLogging?.ignorePaths?.(req, res);
381
if (skip) return next();
382
} else if (Array.isArray(this.config.requestLogging?.ignorePaths)) {
383
- const skip = this.config.requestLogging?.ignorePaths?.includes(req.path);
+ const skip = this.config.requestLogging?.ignorePaths?.some(path => req.path.startsWith(path));
384
385
}
386
0 commit comments