Websockets with NuxtHub and Cloudflare Workers
Hello,
I am using Nuxt 4 with the new NuxtHub update. I am using Cloudflare Workers. In the docs, there is a realtime section that I followed. But when I deploy it, the websockets doesn't seems to work correctly. It keeps getting on "Visitors: 1" in my visitors page and when I open another tab, it stays to 1. If I refresh several times, sometimes, the visitor is counted, so 2.
nitro.config.ts
I know that in the docs it's mentionned to use the preset "cloudflare_durable", but the result is the same.
The docs: https://hub.nuxt.com/docs/guides/realtime
Thanks for help in advance.
I am using Nuxt 4 with the new NuxtHub update. I am using Cloudflare Workers. In the docs, there is a realtime section that I followed. But when I deploy it, the websockets doesn't seems to work correctly. It keeps getting on "Visitors: 1" in my visitors page and when I open another tab, it stays to 1. If I refresh several times, sometimes, the visitor is counted, so 2.
nitro.config.ts
I know that in the docs it's mentionned to use the preset "cloudflare_durable", but the result is the same.
The docs: https://hub.nuxt.com/docs/guides/realtime
Thanks for help in advance.

nitro
typescript