Replies: 4 comments 10 replies
-
Paste the question you wrote above on google and that should provide better answer than what we can do here |
Beta Was this translation helpful? Give feedback.
-
Hi, Currently, I am playing tRPC and NextJS. And here the wrapper.
And [trpc].ts
Hope this snippet solves your problem |
Beta Was this translation helpful? Give feedback.
-
You can use cors like that. |
Beta Was this translation helpful? Give feedback.
-
For Nest.js: Be sure to enable cors before TRCP applyMiddleware. If you set enable cors after trcp, your trcp requests won't work.
|
Beta Was this translation helpful? Give feedback.
-
i have a site in next hosted on netlify but i can't make any request because the cors blocking, how can i solve this problem
Beta Was this translation helpful? Give feedback.
All reactions