Skip to content

Commit e15d875

Browse files
Add missing WORKER_SELF_REFERENCE service binding to wrangler configuation (nodejs#8589)
Add missing `WORKER_SELF_REFERENCE` service binding to wrangler configuration
1 parent 2a9382d commit e15d875

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apps/site/wrangler.jsonc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
"binding": "ASSETS",
1313
"run_worker_first": true,
1414
},
15+
"services": [
16+
{
17+
"binding": "WORKER_SELF_REFERENCE",
18+
"service": "nodejs-website",
19+
},
20+
],
1521
"vars": {
1622
// Variables needed for skew protection
1723
// Also note that an appropriate CF_WORKERS_SCRIPTS_API_TOKEN secret

0 commit comments

Comments
 (0)