fforres
CDCloudflare Developers
β’Created by fforres on 8/7/2024 in #workers-help
Do RPCs work in localhost? π€
I imagine this has to be because the way workers need keep references to JS Objects when injecting RPCs? π€ Would be great if some CF folks could give some insight
5 replies
CDCloudflare Developers
β’Created by fforres on 8/7/2024 in #workers-help
Do RPCs work in localhost? π€
Unsure if this is documented or not, but that was at least my issue π
5 replies
CDCloudflare Developers
β’Created by fforres on 8/7/2024 in #workers-help
Do RPCs work in localhost? π€
Holy shit! I figured it out my issue.
So one extra thing to have in consideration is that methods have to be written as part of the class prototype.
Like
WORKS
FAILS
5 replies
CDCloudflare Developers
β’Created by fforres on 8/7/2024 in #workers-help
Do RPCs work in localhost? π€
I can see the following:
β² [WARNING] This worker is bound to live services: TRANSACTIONAL_EMAIL_SERVICE (transactional-email-service)
Which makes me think wrangler does see the bound RPC service.
Plus I have set a compatibility_date = "2024-06-03"
for both my services (main and the bound RPC).5 replies
CDCloudflare Developers
β’Created by SimDoes on 6/14/2024 in #pages-discussions
did you figure this out? I have tried
oh crap π¦
5 replies
CDCloudflare Developers
β’Created by SimDoes on 6/14/2024 in #pages-discussions
did you figure this out? I have tried
Did you folks found a solution? Been stuck with the same issue for a while. disabled the placements...ensured i'm using an up to date
compatibility_date
It doesn't work on local5 replies
CDCloudflare Developers
β’Created by Web Bae on 7/1/2024 in #workers-help
Service Workers and Typescript
Hey @Web Bae! did you find a solution? π€
8 replies
CDCloudflare Developers
β’Created by moonage.dev on 3/2/2023 in #pages-discussions
Nvm see itβs possible in the docs k so
Heyoo, were you able to do custom domain per branches?
Wanted to have a "development" branch, deploying to domain.dev and "main" to "domain.com"
2 replies