[Help needed] CloudFlare Worker Rollback - Can't View deployed code
After rolling back to a pervious version, how can one view the code for the Active deployment?
Clicking "Edit" shows the code for the Latest deployment - not the one you rolled back to (ie. the Active one)
I've searched for ways on Google, ChatGTP etc with not luck.
Any ideas?
5 Replies
CloudFlare support replied. Solution is to use the API instead
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Yeah, quick edit doesn't yet support this
Something I am currently working on though. For now, script content API is the way to go
While you're at it... 😅
Another useful feature would be the option to disable the [Edit] button on the account, so that we are forced to use git to deploy, to avoid drift like this 🙂
👀 watch out