connect-roles
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -51,3 +51,3 @@ "use strict"; | ||
var match; | ||
if (match = exp.exec(req.app.path() + req.path)) { | ||
if (match = exp.exec(req.app.path().replace(/\/$/, '') + req.path)) { | ||
req = Object.create(req); | ||
@@ -54,0 +54,0 @@ req.params = Object.create(req.params || {}); |
{ | ||
"name": "connect-roles", | ||
"description": "Provides dynamic roles based authentication for node.js connect and express servers.", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"homepage": "http://documentup.com/ForbesLindesay/connect-roles", | ||
@@ -6,0 +6,0 @@ "repository": { |
15199