From 3b7985d97dedb8f2045d7c46d58aa0189ba78c61 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Mon, 11 Aug 2025 12:45:33 +0100 Subject: [PATCH 1/2] Add `--domain` option to `wrangler deploy` To document https://github.com/cloudflare/workers-sdk/pull/10312 --- src/content/docs/workers/wrangler/commands/workers.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content/docs/workers/wrangler/commands/workers.mdx b/src/content/docs/workers/wrangler/commands/workers.mdx index 96d4c9c59351e31..063ac20f0e414c6 100644 --- a/src/content/docs/workers/wrangler/commands/workers.mdx +++ b/src/content/docs/workers/wrangler/commands/workers.mdx @@ -208,6 +208,9 @@ None of the options for this command are required. Also, many can be set in your - `--routes`, `--route` string\[] optional - Routes where this Worker will be deployed. - For example: `--route example.com/*`. +- `--domain`, + - Custom domains where this Worker will be deployed. + - For example: `--domain example.com`. - `--tsconfig` - Path to a custom `tsconfig.json` file. - `--minify` From ee9643f2899197cf890a2e5025a56d14e7af15bf Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 17 Apr 2026 23:03:00 +0100 Subject: [PATCH 2/2] Update src/content/docs/workers/wrangler/commands/workers.mdx Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- src/content/docs/workers/wrangler/commands/workers.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/workers/wrangler/commands/workers.mdx b/src/content/docs/workers/wrangler/commands/workers.mdx index 063ac20f0e414c6..18aee6ebdbebab6 100644 --- a/src/content/docs/workers/wrangler/commands/workers.mdx +++ b/src/content/docs/workers/wrangler/commands/workers.mdx @@ -208,7 +208,7 @@ None of the options for this command are required. Also, many can be set in your - `--routes`, `--route` string\[] optional - Routes where this Worker will be deployed. - For example: `--route example.com/*`. -- `--domain`, +- `--domain` - Custom domains where this Worker will be deployed. - For example: `--domain example.com`. - `--tsconfig`