-
Hi, I'm aware Next.js appDir is not supported officially (#3297), but for more than 12 months I'm using it with tRPC by only using client components and it works great. Since yesterday I'm trying to use a subscription but I see no Since it uses Curious if any of you has a solution? cc @KATT For those interested about modifications I made sneko/examples-next-prisma-websockets-starter@72666d4 . To test:
Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm a damn idiot. I was too focused on the network section in the browser and didn't see in the console section there was an error about security policy...
Just needed to add the exact |
Beta Was this translation helpful? Give feedback.
I'm a damn idiot. I was too focused on the network section in the browser and didn't see in the console section there was an error about security policy...
Just needed to add the exact
ws://localhost:3001/
to myconnect-src
rule (with ending slash), and it works now. Hope it helps 👍