No command to enable/disable workers.dev and Preview URLs on an existing Worker
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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 listshowssubdomain.enabledandsubdomain.previews_enabled, but no command changes them.cf cli searchfor "disable workers.dev subdomain for a worker", "workers.dev", "worker subdomain" and "update Worker settings" returns nothing relevant.cf workers triggers deployworks from a local project only.- The API supports it:
POST /accounts/{account_id}/workers/scripts/{script_name}/subdomainwith{"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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 916
- Forks
- 53
- Merge medio
- 18 h 42 min
- PR fusionados (30 d)
- 199
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudflare/cf
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cloudflare/cf#344 ·
Los mantenedores suelen responder en 1 día
-
upstream
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cloudflare/cf#262 ·
Los mantenedores suelen responder en 1 día
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` templatePosiblemente ocupada @jamesopstad la tomó hace 13 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cloudflare/cf#223 · 2 asignados ·
Los mantenedores suelen responder en 1 día
-
upstream
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
cloudflare/cf#179 ·
Los mantenedores suelen responder en 1 día
-
Ctrl+C leaves `cf dev` stuck at "Terminate batch job (Y/N)?" on Windows in npm projectsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
cloudflare/cf#412 ·
Los mantenedores suelen responder en 1 día
Todos los issues de cloudflare/cf
Issues similares
-
Manager flashes an empty "errorOccurred" dialog while redirecting a logged-out user to loginAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openremote/openremote#3487 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
coollabsio/jean#867 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ehmpathy/rhachet-roles-bhuild#616 ·
Los mantenedores suelen responder en 1 día
-
📘 Docs supabase/cli
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
bug(cli): theme file home-directory check uses startsWith (sibling dirs pass, Windows casing fails)Abiertoarea/core kind/bug priority/p2 status/bot-triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
google-gemini/gemini-cli#29955 · 2 comentarios ·
Los mantenedores suelen responder en 1 día