Comparing version 1.0.14 to 1.0.15
@@ -163,3 +163,4 @@ const fs = require('fs'); | ||
let pathname = !!req._decoded && req.path || parse(req, true).pathname; | ||
// todo: fix me later (dangle in parser) | ||
let pathname = !!req._decoded && req._parsedUrl && req._parsedUrl.pathname || parse(req, true).pathname; | ||
let data = lookup(pathname, extns) || isSPA && !isMatch(pathname, ignores) && lookup(fallback, extns); | ||
@@ -166,0 +167,0 @@ if (!data) return next ? next() : isNotFound(req, res); |
{ | ||
"name": "sirv", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "The optimized & lightweight middleware for serving requests to static assets", | ||
@@ -5,0 +5,0 @@ "repository": "lukeed/sirv", |
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
20726
316