restify-prom-bundle
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -130,5 +130,6 @@ "use strict"; | ||
if (!routeFindError) { | ||
path = (route.spec.path instanceof RegExp) ? | ||
"RegExp(" + route.spec.path + ")" : | ||
route.spec.path.toString(); | ||
var routePath = route.spec.path || route.spec.url; | ||
path = (routePath instanceof RegExp) ? | ||
"RegExp(" + routePath + ")" : | ||
routePath.toString(); | ||
} | ||
@@ -135,0 +136,0 @@ debug('Using path: %s', path); |
@@ -7,4 +7,8 @@ # Change Log | ||
## [1.0.1] - 2017-04-27 | ||
### Fixed | ||
- Handle { url: '' } route parameters | ||
## [1.0.0] - 2017-02-10 | ||
### Added | ||
- First version |
{ | ||
"name": "restify-prom-bundle", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Restify prometheus middleware to expose HTTP metrics", | ||
@@ -5,0 +5,0 @@ "main": "./built/js/index.js", |
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
244
173556