Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

No command to enable/disable workers.dev and Preview URLs on an existing Worker

オープン
#196 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
api, cli, cloud

調査の方向性

Start with the existing cf workers list and cf workers triggers deploy command entry points, then compare their API handling with POST /accounts/{account_id}/workers/scripts/{script_name}/subdomain. Done means an existing Worker can enable or disable workers.dev and Preview URLs without a local project, using the requested settings.

索引モデルが issue の本文から書いたものです。

説明

upstream

cf version: 1.0.0-beta.12 (macOS)

What I'm trying to do
Turn off the workers.dev route and Preview URLs for an existing Worker that is deployed by Workers Builds from a Git repo. There's no local cf project for it, so editing config and running cf deploy isn't an option.

What I found

  • cf workers list shows subdomain.enabled and subdomain.previews_enabled, but no command changes them.
  • cf cli search for "disable workers.dev subdomain for a worker", "workers.dev", "worker subdomain" and "update Worker settings" returns nothing relevant.
  • cf workers triggers deploy works from a local project only.
  • The API supports it: POST /accounts/{account_id}/workers/scripts/{script_name}/subdomain with {"enabled": false, "previews_enabled": false}.

Why it matters
Turning off workers.dev is the quickest way to take a Worker off the public internet, for example one that should only be reachable behind Access. Right now the only options in cf are deleting the Worker or going to the dashboard.

Suggestion
Something like cf workers subdomain update <worker> --enabled false --previews-enabled false, or an update command on cf workers that covers subdomain. Related: cloudflare/workers-sdk#16125.

主要言語
TypeScript
スター
916
フォーク
53
平均マージ
18時間 37分
マージ済み PR(30日)
197

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudflare/cf のほかの issue

cloudflare/cf の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。