Skip to content

Commit 27bdd78

Browse files
committed
[Workers] Fix broken anchor links to point to new enable/disable Preview URLs section
1 parent 9ecfe93 commit 27bdd78

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/content/changelog/workers/2025-09-17-update-preview-url-setting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If your Worker was affected, its preview URL (`<PREVIEW>-<WORKER_NAME>.<SUBDOMAI
1616

1717
**How to Re-enable Your Preview URL**
1818

19-
If your preview URL was disabled, you can re-enable it [via the Cloudflare dashboard](/workers/previews/#toggle-preview-urls-enable-or-disable) by navigating to your Worker's Settings page and toggling on the Preview URL.
19+
If your preview URL was disabled, you can re-enable it [via the Cloudflare dashboard](/workers/previews/#enable-or-disable-preview-urls) by navigating to your Worker's Settings page and toggling on the Preview URL.
2020

2121
Alternatively, you can use Wrangler by adding the `preview_urls = true` setting to your Wrangler file and redeploying the Worker.
2222

src/content/changelog/workers/2025-10-23-preview-url-default-behavior.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Workers Preview URL default behavior now matches your workers.dev setting
33
description: If a Workers Preview URL setting is not explicitly configured, its default behavior will now match the setting of the workers.dev subdomain.
44
date: 2025-10-23
55
---
6-
We have updated the default behavior for Cloudflare Workers [Preview URLs](/workers/previews/). **Going forward, if a preview URL setting is not [explicitly configured](/workers/previews/#toggle-preview-urls-enable-or-disable) during deployment, its default behavior will automatically match the setting of your [`workers.dev` subdomain](/workers/configuration/routing/workers-dev/).**
6+
We have updated the default behavior for Cloudflare Workers [Preview URLs](/workers/previews/). **Going forward, if a preview URL setting is not [explicitly configured](/workers/previews/#enable-or-disable-preview-urls) during deployment, its default behavior will automatically match the setting of your [`workers.dev` subdomain](/workers/configuration/routing/workers-dev/).**
77

88
This change is intended to provide a more intuitive and secure experience by aligning your preview URL's default state with your `workers.dev` configuration to prevent cases where a preview URL might remain public even after you disabled your `workers.dev` route.
99

src/content/docs/workers/configuration/routing/workers-dev.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To disable the `workers.dev` route for a Worker, include the following in your W
6666

6767
</WranglerConfig>
6868

69-
When you redeploy your Worker with this change, the `workers.dev` route will be disabled. Disabling your `workers.dev` route does not disable Preview URLs. Learn how to [disable Preview URLs](/workers/previews/#disabling-preview-urls).
69+
When you redeploy your Worker with this change, the `workers.dev` route will be disabled. Disabling your `workers.dev` route does not disable Preview URLs. Learn how to [disable Preview URLs](/workers/previews/#enable-or-disable-preview-urls).
7070

7171
If you do not specify `workers_dev = false` but add a [`routes` component](/workers/wrangler/configuration/#routes) to your [Wrangler configuration file](/workers/wrangler/configuration/), the value of `workers_dev` will be inferred as `false` on the next deploy.
7272

src/content/docs/workers/previews/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ preview_urls = true
161161

162162
</WranglerConfig>
163163

164-
For step-by-step instructions, refer to [Toggle Preview URLs](/workers/configuration/routing/workers-dev/).
165-
166164
---
167165

168166
## Use a custom domain for Previews

0 commit comments

Comments
 (0)