[Workers] Fix two Workers platform doc errors by ghostwriternr · Pull Request #33766 · cloudflare/cloudflare-docs · GitHub
Skip to content

[Workers] Fix two Workers platform doc errors - #33766

Merged
ghostwriternr merged 2 commits into
productionfrom
sandboxes/workers-fixes
Sep 29, 2026
Merged

ghostwriternr merged 2 commits into
productionfrom
sandboxes/workers-fixes

Conversation

@ghostwriternr

@ghostwriternr ghostwriternr commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Summary

Two small fixes to Workers pages, one per commit:

  • Wrangler: workers_dev defaults to false when route or routes is set, not always true.
  • Dynamic Workers: the egress example called ctx.exports.HttpGateway(), which throws. It now passes ctx.exports.HttpGateway.

Documentation checklist

@github-actions github-actions Bot added product:workers Related to Workers product product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ product:dynamic-workers size/s labels Sep 29, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Comment thread src/content/docs/durable-objects/concepts/durable-object-lifecycle.mdx Outdated
Comment thread src/content/docs/durable-objects/concepts/durable-object-lifecycle.mdx Outdated
The Wrangler configuration reference says workers_dev defaults to
true. When the configuration sets route or routes, Wrangler turns
the workers.dev URL off unless workers_dev is set.

State both defaults in the two places the key is described, and say
how to keep the workers.dev URL alongside routes.
The egress control example calls ctx.exports.HttpGateway() and passes
the result to globalOutbound. The export is already a binding, and
calling it throws.

Pass ctx.exports.HttpGateway as is.
@ghostwriternr
ghostwriternr force-pushed the sandboxes/workers-fixes branch from 8ac03e8 to 7270576 Compare September 29, 2026 21:51
@ghostwriternr ghostwriternr changed the title [Workers] Fix three Workers platform doc errors [Workers] Fix two Workers platform doc errors Sep 29, 2026
@github-actions github-actions Bot added size/xs and removed product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ labels Sep 29, 2026
@ghostwriternr
ghostwriternr merged commit 3612041 into production Sep 29, 2026
19 checks passed
@ghostwriternr
ghostwriternr deleted the sandboxes/workers-fixes branch September 29, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants