@sitecore-jss/sitecore-jss-nextjs 22.9.0-canary.3 → 22.9.0-canary.4
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.
|
@@ -285,9 +285,10 @@ class MetadataHandler {
|
|
|
285
285
|
});
|
|
286
286
|
res.setHeader('Set-Cookie', modifiedCookies);
|
|
287
287
|
}
|
|
288
|
+
const encodedRoute = encodeURI(query.route);
|
|
288
289
|
const route = ((_c = (_b = this.config).resolvePageUrl) === null || _c === void 0 ? void 0 : _c.call(_b, {
|
|
289
|
-
itemPath:
|
|
290
|
-
})) ||
|
|
290
|
+
itemPath: encodedRoute,
|
|
291
|
+
})) || encodedRoute;
|
|
291
292
|
sitecore_jss_1.debug.editing('editing render middleware end in %dms: redirect %o', Date.now() - startTimestamp, {
|
|
292
293
|
status: 307,
|
|
293
294
|
route,
|
|
@@ -279,9 +279,10 @@ export class MetadataHandler {
|
|
|
279
279
|
});
|
|
280
280
|
res.setHeader('Set-Cookie', modifiedCookies);
|
|
281
281
|
}
|
|
282
|
+
const encodedRoute = encodeURI(query.route);
|
|
282
283
|
const route = ((_c = (_b = this.config).resolvePageUrl) === null || _c === void 0 ? void 0 : _c.call(_b, {
|
|
283
|
-
itemPath:
|
|
284
|
-
})) ||
|
|
284
|
+
itemPath: encodedRoute,
|
|
285
|
+
})) || encodedRoute;
|
|
285
286
|
debug.editing('editing render middleware end in %dms: redirect %o', Date.now() - startTimestamp, {
|
|
286
287
|
status: 307,
|
|
287
288
|
route,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-jss/sitecore-jss-nextjs",
|
|
3
|
-
"version": "22.9.0-canary.
|
|
3
|
+
"version": "22.9.0-canary.4",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -72,16 +72,16 @@
|
|
|
72
72
|
"react-dom": "^19.1.0"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@sitecore-jss/sitecore-jss": "22.9.0-canary.
|
|
76
|
-
"@sitecore-jss/sitecore-jss-dev-tools": "22.9.0-canary.
|
|
77
|
-
"@sitecore-jss/sitecore-jss-react": "22.9.0-canary.
|
|
75
|
+
"@sitecore-jss/sitecore-jss": "22.9.0-canary.4",
|
|
76
|
+
"@sitecore-jss/sitecore-jss-dev-tools": "22.9.0-canary.4",
|
|
77
|
+
"@sitecore-jss/sitecore-jss-react": "22.9.0-canary.4",
|
|
78
78
|
"@vercel/kv": "^0.2.1",
|
|
79
79
|
"regex-parser": "^2.2.11",
|
|
80
80
|
"sync-disk-cache": "^2.1.0"
|
|
81
81
|
},
|
|
82
82
|
"description": "",
|
|
83
83
|
"types": "types/index.d.ts",
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "842b72c250905314e45b8b1387407fd1efe1b241",
|
|
85
85
|
"files": [
|
|
86
86
|
"dist",
|
|
87
87
|
"types",
|