Workers development in Git Codespaces #2763
maildebjyoti
started this conversation in
General
Replies: 1 comment 1 reply
-
CLOUDFLARE_API_TOKEN=<TOKEN> npx wrangler dev |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to evaluate the Workers in Codespaces but found that it fails due to the Oauth2.0 callback. Tried searching for a workaround by passing the API keys but the documentation is not clear to me and seems like it is pointing to v1.
The approach I took was to run "wrangler dev --local" and then made the port public. But I am also interested to deploy the same. Following this --> https://developers.cloudflare.com/workers/wrangler/ci-cd/ the "wrangler publish" works but the "wrangler login" still fails.
Did anyone try something similar or any blogs which I can refer to?
Beta Was this translation helpful? Give feedback.
All reactions