@edgeone/opennextjs-pages 0.1.6-beta.2 → 0.1.6-beta.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.
@@ -669,6 +669,7 @@ function convertTrailingSlash(enable, status = 308) {
669
669
  });
670
670
  routes.push({
671
671
  src: "^/((?:[^/]+/)*[^/\\.]+)$",
672
+ has: [{ type: "header", key: "x-nextjs-data" }],
672
673
  headers: { Location: "/$1/" },
673
674
  status
674
675
  });
@@ -28,7 +28,7 @@ module.exports = __toCommonJS(tags_handler_exports);
28
28
 
29
29
  // package.json
30
30
  var name = "@edgeone/opennextjs-pages";
31
- var version = "0.1.6-beta.2";
31
+ var version = "0.1.6-beta.3";
32
32
 
33
33
  // src/run/handlers/tags-handler.cts
34
34
  var import_request_context = require("./request-context.cjs");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgeone/opennextjs-pages",
3
- "version": "0.1.6-beta.2",
3
+ "version": "0.1.6-beta.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",