i18next-http-middleware 3.9.5 → 3.9.6
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/cjs/index.js +1 -1
- package/esm/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -198,7 +198,7 @@ function freshPlugin(i18next, options) {
|
|
|
198
198
|
}
|
|
199
199
|
setCookie = placeholder.headers.get('Set-Cookie');
|
|
200
200
|
if (setCookie) {
|
|
201
|
-
resp.headers.
|
|
201
|
+
resp.headers.append('Set-Cookie', setCookie);
|
|
202
202
|
}
|
|
203
203
|
return _context2.a(2, resp);
|
|
204
204
|
}
|
package/esm/index.js
CHANGED
|
@@ -181,7 +181,7 @@ export function freshPlugin(i18next, options) {
|
|
|
181
181
|
}
|
|
182
182
|
setCookie = placeholder.headers.get('Set-Cookie');
|
|
183
183
|
if (setCookie) {
|
|
184
|
-
resp.headers.
|
|
184
|
+
resp.headers.append('Set-Cookie', setCookie);
|
|
185
185
|
}
|
|
186
186
|
return _context2.a(2, resp);
|
|
187
187
|
}
|
package/lib/index.js
CHANGED
|
@@ -170,7 +170,7 @@ export function freshPlugin (i18next, options) {
|
|
|
170
170
|
|
|
171
171
|
const setCookie = placeholder.headers.get('Set-Cookie')
|
|
172
172
|
if (setCookie) {
|
|
173
|
-
resp.headers.
|
|
173
|
+
resp.headers.append('Set-Cookie', setCookie)
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
return resp
|