Skip to content

chore: disable CDN toggles in domain UI#95

Merged
acoshift merged 2 commits into
mainfrom
claude/stoic-antonelli-233a85
May 17, 2026
Merged

chore: disable CDN toggles in domain UI#95
acoshift merged 2 commits into
mainfrom
claude/stoic-antonelli-233a85

Conversation

@acoshift
Copy link
Copy Markdown
Member

Summary

  • Disable the Add CDN (DDoS Protection) button on the domain detail page.
  • Disable the CDN (DDoS Protection) checkbox on the domain create page (was previously gated on projectInfo.config.domainAllowDisableCdn).

Users can no longer opt in to CDN from the console; existing CDN-enabled domains still show the Remove CDN flow on the detail page.

Test plan

  • Open a project's domain create page and confirm the CDN checkbox is disabled.
  • Open a non-CDN domain's detail page and confirm the Add CDN button is disabled.
  • Open a CDN-enabled domain's detail page and confirm the Remove CDN link is still active.

🤖 Generated with Claude Code

Disable the "Add CDN" button on the domain detail page and the CDN
checkbox on the domain create page so users can no longer opt in to
CDN (DDoS Protection) from the console.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 17, 2026

Deploying deploys-app--console with  Cloudflare Pages  Cloudflare Pages

Latest commit: bbe40ae
Status: ✅  Deploy successful!
Preview URL: https://09fca65a.deploys-app--console.pages.dev
Branch Preview URL: https://claude-stoic-antonelli-233a8.deploys-app--console.pages.dev

View logs

The CDN checkbox no longer reads projectInfo.config.domainAllowDisableCdn,
so the derived binding became dead and tripped the no-unused-vars lint.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@acoshift acoshift merged commit 880e98c into main May 17, 2026
5 checks passed
@acoshift acoshift deleted the claude/stoic-antonelli-233a85 branch May 17, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant