larvitfiles
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -23,3 +23,3 @@ /** | ||
req.fileLib.file({ | ||
'slug': decodeURIComponent(req.urlParsed.pathname.substring(req.fileLib.options.prefix)) | ||
'slug': decodeURIComponent(req.urlParsed.pathname.substr(req.fileLib.prefix.length)) | ||
}, function (err, file) { | ||
@@ -26,0 +26,0 @@ if (err) return cb(err, req, res, {}); |
{ | ||
"name": "larvitfiles", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "Storage of files with an API and database to use in web environments", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
59560