i18next-express-middleware
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -101,3 +101,4 @@ 'use strict'; | ||
var detections = _this.detectors[detectorName].lookup(req, res, _this.options); | ||
if (typeof detection === 'string') detections = [detections]; | ||
if (!detections) return; | ||
if (typeof detections === 'string') detections = [detections]; | ||
@@ -104,0 +105,0 @@ detections.forEach(function (lng) { |
{ | ||
"name": "i18next-express-middleware", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "express middleware for i18next", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
22181
416