i18next-express-middleware
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,4 @@ | ||
### 1.0.2 | ||
- call next without loading languages if there is no lng | ||
### 1.0.1 | ||
@@ -2,0 +5,0 @@ - fixes call to loadLanguages |
@@ -75,2 +75,3 @@ 'use strict'; | ||
// load resources | ||
if (!req.lng) return next(); | ||
i18next.loadLanguages(req.lng, function () { | ||
@@ -77,0 +78,0 @@ next(); |
{ | ||
"name": "i18next-express-middleware", | ||
"version": "1.0.1", | ||
"version": "1.0.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
24660
435