[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
simmbiote
simmbioteOP•3mo ago
CloudFlare support replied. Solution is to use the API instead
simmbiote
simmbioteOP•3mo ago
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Walshy
Walshy•3mo ago
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
simmbiote
simmbioteOP•3mo ago
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 🙂
Walshy
Walshy•3mo ago
👀 watch out
Want results from more Discord servers?
Add your server