Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not publish to workers.dev if workers_dev is false #458

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

petebacondarwin
Copy link
Contributor

Previously we always published to the workers.dev subdomain, ignoring the workers_dev setting in the wrangler.toml configuration.

Now we respect this configuration setting, and also disable an current workers.dev subdomain worker when we publish and workers_dev is false.

Fixes #410

@changeset-bot
Copy link

changeset-bot bot commented Feb 14, 2022

🦋 Changeset detected

Latest commit: b73133a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

In f9c1423 the query param was incorrectly changed from `available_on_subdomain` to `available_on_subdomains`.

It is not clear if this makes any difference as I cannot find anywhere in the config service that expects such a query parameter.
Previously we always published to the workers.dev subdomain, ignoring the `workers_dev` setting in the `wrangler.toml` configuration.

Now we respect this configuration setting, and also disable an current workers.dev subdomain worker when we publish and `workers_dev` is `false`.

Fixes #410
@github-actions
Copy link
Contributor

wrangler prerelease is available for testing:

npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/1840163567/wrangler

@threepointone
Copy link
Contributor

threepointone commented Feb 14, 2022

Thanks for fixing what I broke! 😬

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.

🐛 BUG: Disabling workers dev domain doesn't work
2 participants