Hemant Rajput
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Hemant Rajput on 9/13/2024 in #questions
How to Hook UploadThing to a Different Route Instead of /api/uploadthing?
Hey everyone,
Is there any way to configure UploadThing to use a custom route instead of /api/uploadthing? I have a separate backend running behind a reverse proxy at example.com/api, so I can't use the /api route for UploadThing. Any help or suggestions would be appreciated!
3 replies
WebSocket Subscriptions in Next.js 14 Using `fetchRequestHandler` and `createTRPCReact`
Hello everyone,
Does anyone have a working example of using WebSockets/subscriptions with
fetchRequestHandler
on Next.js 14? I haven't been able to get subscriptions working with my current approach using fetchRequestHandler
and createTRPCReact
.
Any help would be greatly appreciated!
Thank you!5 replies