backtrace-service
Advanced tools
Comparing version 3.4.8 to 3.4.9
@@ -71,2 +71,3 @@ import { BacktraceClient } from '@backtrace/node'; | ||
static setupMiddlewares(app: express.Express, prefix?: string, identityManager?: IdentityManager, options?: IMiddlewareOptions): void; | ||
static setupPingdomEndpoint(app: express.Express, path: string, identityManager?: IdentityManager): void; | ||
static setupErrorScopeMiddleware(app: express.Express, opts?: IErrorScopeOptions): void; | ||
@@ -73,0 +74,0 @@ /** |
@@ -312,4 +312,7 @@ "use strict"; | ||
}); | ||
this.setupPingdomEndpoint(app, prefix, identityManager); | ||
}; | ||
BacktraceService.setupPingdomEndpoint = function (app, path, identityManager) { | ||
// Route hit by pingdom | ||
app.get(prefix, function (_req, res) { | ||
app.get(path, function (_req, res) { | ||
identityManager === null || identityManager === void 0 ? void 0 : identityManager.bypassProjectAccessCheck(res); | ||
@@ -316,0 +319,0 @@ res.type('xml'); |
{ | ||
"name": "backtrace-service", | ||
"version": "3.4.8", | ||
"version": "3.4.9", | ||
"description": "Common tools for Backtrace Node services", | ||
@@ -5,0 +5,0 @@ "author": "Backtrace", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239371
3509