Kaylee
Explore posts from serversCDCloudflare Developers
•Created by Kaylee on 4/8/2025 in #workers-help
Rollback via API
I want to deploy a new version of the worker however i need to be able to roll it back, is there anyway to get the current deployed version via the API, so i can do a deploy based that version
e.g.
1. Get Current Version
2. PUT /scrips/scriptname (to push the new content)
3. (something else errors deploy version from step 1)
4 replies
BABetter Auth
•Created by Kaylee on 3/14/2025 in #help
Vercel Deploy Problems - Cookies not detected?
I just deployed my app to vercel and m ycookies are no longer detected?
I sign in e.g. with a. magic link, i see my cookies in the application but i dont get redirected or whatever
When i run it locally i do get redirected, only difference is one is deployed on vercel and the other isnt
23 replies
CDCloudflare Developers
•Created by Kaylee on 3/6/2025 in #workers-help
Uploading worker module with the TS SDK
Is there a code snippet or something for creating a worker with the TS SDK?
https://developers.cloudflare.com/api/node/resources/workers/subresources/scripts/methods/update/
I think im struggling to read the doc so i think a code snippet would help me figure out how to use it. I've got an implementation with just fetch() but i'd much prefer the type safety of the sdk when possible.
I seem to just get this error
Failed to deploy Cloudflare Worker: Error: 400 {"result":null,"success":false,"errors":[{"code":10021,"message":"No event handlers were registered. This script does nothing.\n"}],"messages":[]}
1 replies
BABetter Auth
•Created by Kaylee on 2/26/2025 in #help
Creating an org at user creation best practices
Hi,
I'm wondering what the best practice is around creating an organization around user-creation
I went to create the organisation after the users name and set it as there active organization
I assume it’s using the database hook paired with my orm qafter user creation? so oauth sign in works too
8 replies