Skip to content

Commit 79593e6

Browse files
authored
Add global_fetch_strictly_public to the Next template for workers (#9087)
1 parent 3f8f1a1 commit 79593e6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/kind-dolls-swim.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-cloudflare": patch
3+
---
4+
5+
Add the `global_fetch_strictly_public` flag to the Next template for workers

packages/create-cloudflare/templates/next/workers/templates/wrangler.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"main": ".open-next/worker.js",
44
"compatibility_date": "2025-03-01",
55
"compatibility_flags": [
6-
"nodejs_compat"
6+
"nodejs_compat",
7+
"global_fetch_strictly_public"
78
],
89
"assets": {
910
"binding": "ASSETS",

0 commit comments

Comments
 (0)