10000 review fix · opennextjs/opennextjs-cloudflare@b51a9f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit b51a9f4

Browse files
committed
review fix
1 parent c01437d commit b51a9f4

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

examples/e2e/experimental/e2e/nodeMiddleware.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { expect, test } from "@playwright/test";
22

3+
// See https://github.com/opennextjs/opennextjs-cloudflare/issues/617
34
test.describe("Node Middleware", () => {
45
test.skip("Node middleware should add headers", async ({ request }) => {
56
const resp = await request.get("/");

examples/e2e/experimental/next.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const nextConfig: NextConfig = {
1414
experimental: {
1515
ppr: "incremental",
1616
// Node middleware is not supported yet in cloudflare
17+
// See https://github.com/opennextjs/opennextjs-cloudflare/issues/617
1718
// nodeMiddleware: true,
1819
dynamicIO: true,
1920
},

examples/e2e/experimental/src/middleware.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Node middleware is not supported yet in cloudflare
2+
// See https://github.com/opennextjs/opennextjs-cloudflare/issues/617
3+
14
// import crypto from "node:crypto";
25
import { type NextRequest, NextResponse } from "next/server";
36

0 commit comments

Comments
 (0)
0