mirror of
https://github.com/BreizhHardware/express-prom-bundle.git
synced 2026-01-18 16:27:28 +01:00
Add new option bypassOnFinish, for when response is required in bypass callback
This commit is contained in:
1
types/index.d.ts
vendored
1
types/index.d.ts
vendored
@@ -28,6 +28,7 @@ declare namespace express_prom_bundle {
|
||||
includeUp?: boolean;
|
||||
|
||||
bypass?: (req: Request) => boolean;
|
||||
bypassOnFinish?: (req: Request, res: Response) => boolean;
|
||||
|
||||
excludeRoutes?: Array<string | RegExp>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user