JavaDad
Explore posts from serversCDCloudflare Developers
•Created by JavaDad on 4/15/2024 in #workers-help
Can not enable Log Push
Tried logout and login and no @Lubo I have not. I resorted to using a Tail worker which sends messages to my chat app… not ideal since it’s very noisy.
3 replies
CDCloudflare Developers
•Created by JavaDad on 4/28/2023 in #pages-help
Cloudflare Pages Function CORS error
That seems to work if I just return the headers in every Response! Thank you so much.
4 replies
CDCloudflare Developers
•Created by JavaDad on 3/1/2023 in #workers-help
Can't Work with Queues and D1 in the same project
cc @massadas
3 replies
CDCloudflare Developers
•Created by JavaDad on 3/1/2023 in #workers-help
Can't Work with Queues and D1 in the same project
Ill open this issue with workers-qb, this is good to know, thank you!
3 replies
CDCloudflare Developers
•Created by JavaDad on 1/27/2023 in #workers-help
How to bind to services
@Cyb3r-Jok3 thanks, this lead me in the correct direction. For anyone else that gets this error, you have to make sure the name in the TypeScript interface matches your binding name. This example helped me figure that out.
https://developers.cloudflare.com/d1/get-started/#write-queries-within-your-worker
In my wrangler.toml my binding was DB but in the TypeScript interface I had DATABASE
8 replies
CDCloudflare Developers
•Created by JavaDad on 1/27/2023 in #workers-help
How to bind to services
8 replies
CDCloudflare Developers
•Created by JavaDad on 1/27/2023 in #workers-help
How to bind to services
Hmm, so I am using the
D1Database
type now but it seems to be undefined. Where I have the console log I am getting undefined. Any tips?
8 replies
CDCloudflare Developers
•Created by JavaDad on 1/27/2023 in #workers-help
How to bind to services
Oh, so those generic names are actually the names to use? I thought they were just examples and somehow I had to set these names somewhere. I didn’t realize they were types. I guess the comment made me think they were strings 🤦. Thank you!
8 replies