i18next-express-middleware
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -87,6 +87,4 @@ 'use strict'; | ||
var languages = req.query[options.lngParam || 'lng'] || []; | ||
var namespaces = req.query[options.nsParam || 'ns'] || []; | ||
languages = languages.split[' ']; | ||
namespaces = namespaces.split[' ']; | ||
var languages = req.query[options.lngParam || 'lng'].split(' ') || []; | ||
var namespaces = req.query[options.nsParam || 'ns'].split(' ') || []; | ||
@@ -93,0 +91,0 @@ // extend ns |
{ | ||
"name": "i18next-express-middleware", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"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
7210
138