Skip to content

Commit

Permalink
Add script_name for Channel DO binding
Browse files Browse the repository at this point in the history
wrangler’s getPlatformProxy requires the script_name in order to be able to proxy any Durable Object bindings: https://developers.cloudflare.com/workers/wrangler/api/#supported-bindings
  • Loading branch information
acusti committed Aug 7, 2024
1 parent 08faf1c commit f5874c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/remix-cms/wrangler.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"bindings": [
{
"name": "CHANNELS",
"class_name": "Channel"
"class_name": "Channel",
"script_name": "worker"
}
]
},
Expand Down

0 comments on commit f5874c0

Please sign in to comment.