baucis-decorator-env
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -12,3 +12,3 @@ 'use strict'; | ||
* Allows properties for some resource to have an alternative `development` | ||
* key when accessed via `/dev/api/etc`. | ||
* key when accessed via `/dev/etc`. | ||
* | ||
@@ -235,3 +235,3 @@ * @api public | ||
function inDevelopment (req) { | ||
return (req.originalUrl || req.baseUrl).indexOf('/dev/api/') === 0; | ||
return (req.originalUrl || req.baseUrl).indexOf('/dev/') === 0; | ||
} | ||
@@ -238,0 +238,0 @@ |
{ | ||
"name": "baucis-decorator-env", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Allows properties for some resource to have an alternative `development` key when accessed via `/dev/api/etc`.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
10588