nuxt-i18n
Advanced tools
Comparing version 2.2.3 to 2.2.4
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.2.4"></a> | ||
## [2.2.4](https://github.com/paulgv/nuxt-i18n/compare/v2.2.3...v2.2.4) (2018-02-11) | ||
### Bug Fixes | ||
* Use same Regex for matching URL locale in plugin and middleware ([a590e93](https://github.com/paulgv/nuxt-i18n/commit/a590e93)), closes [#17](https://github.com/paulgv/nuxt-i18n/issues/17) | ||
<a name="2.2.3"></a> | ||
@@ -7,0 +17,0 @@ ## [2.2.3](https://github.com/paulgv/nuxt-i18n/compare/v2.2.2...v2.2.3) (2018-02-11) |
@@ -14,3 +14,3 @@ import Vue from 'vue' | ||
app.i18n.locales.forEach(l => { | ||
const regexp = new RegExp('^/' + l.code + '/') | ||
const regexp = new RegExp('^/' + l.code + '(/.+)?') | ||
if (route.path.match(regexp)) { | ||
@@ -17,0 +17,0 @@ locale = l.code |
{ | ||
"name": "nuxt-i18n", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "i18n for Nuxt", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
23206