@plone/volto 16.31.2 → 16.31.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changelog.draft +2 -2
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/packages/volto-slate/package.json +1 -1
- package/src/server.jsx +1 -1
package/.changelog.draft
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
## 16.31.
|
|
1
|
+
## 16.31.3 (2024-03-06)
|
|
2
2
|
|
|
3
3
|
### Bugfix
|
|
4
4
|
|
|
5
|
-
- Fix
|
|
5
|
+
- Fix multilingual redirector where it doesn't take into account the stored cookie in SSR. @robgietema [#5628](https://github.com/plone/volto/issues/5628)
|
|
6
6
|
|
|
7
7
|
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 16.31.3 (2024-03-06)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Fix multilingual redirector where it doesn't take into account the stored cookie in SSR. @robgietema [#5628](https://github.com/plone/volto/issues/5628)
|
|
16
|
+
|
|
11
17
|
## 16.31.2 (2024-03-05)
|
|
12
18
|
|
|
13
19
|
### Bugfix
|
package/package.json
CHANGED
package/src/server.jsx
CHANGED
|
@@ -239,7 +239,7 @@ server.get('/*', (req, res) => {
|
|
|
239
239
|
: store.getState().content.data?.language?.token ||
|
|
240
240
|
config.settings.defaultLanguage;
|
|
241
241
|
|
|
242
|
-
if (toBackendLang(initialLang) !== contentLang) {
|
|
242
|
+
if (toBackendLang(initialLang) !== contentLang && url !== '/') {
|
|
243
243
|
const newLang = toReactIntlLang(
|
|
244
244
|
new locale.Locales(contentLang).best(supported).toString(),
|
|
245
245
|
);
|