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

Unable to disable workers_dev route #84

Open
Skye-31 opened this issue Mar 19, 2022 · 0 comments
Open

Unable to disable workers_dev route #84

Skye-31 opened this issue Mar 19, 2022 · 0 comments

Comments

@Skye-31
Copy link

Skye-31 commented Mar 19, 2022

Firstly I tried editing the wrangler.toml file, but noticed that the deploy.yml action adds an [env.production] section to the file, so that will not work. I then modified the deploy action to have the additional content, and it now automatically sets my route, but does not seem to set the workers_dev property.

  echo "[env.production]" >> wrangler.toml
+ echo "routes = [\"my.domain.here/*\"]" >> wrangler.toml
+ echo "workers_dev = false" >> wrangler.toml
  echo "kv_namespaces = [{binding=\"KV_STATUS_PAGE\", id=\"${KV_NAMESPACE_ID}\"}]" >> wrangler.toml

image

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

No branches or pull requests

1 participant