Skip to content

Commit 9652699

Browse files
committed
fixup! doc
1 parent fb1dd50 commit 9652699

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.changeset/nine-fireants-protect.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
---
44

55
fix: CustomRequest instantiation
6+
7+
In some cases some request properties would not be initialized (i.e. method, headers, ...)
8+
The bug was caused by the processing the init in the CustomRequest class.
9+
The bug was tigerred when using clerk.

examples/middleware/e2e/base.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ test("matching noop middleware", async ({ page }) => {
2828
expect(await page.textContent("h1")).toContain("Via middleware");
2929
});
3030

31+
// Test for https://github.com/opennextjs/opennextjs-cloudflare/issues/201
3132
test("clerk middleware", async ({ page }) => {
3233
const res = await page.request.post("/clerk", { data: "some body" });
3334
expect(res.ok()).toEqual(true);

0 commit comments

Comments
 (0)