Serverside api call - uploadthing

Hi! I have implemented the uploadthing nextjs and works great clientside with upload button! But I want to use uploadthing from the serverside in nextjs. Is there a easy way of doing it? Can I reuse the fileRouter or /api/uploadthing endpoint? Sorry if it is a noob question 🙂
1 Reply
peterkyle01
peterkyle01•6mo ago
The upload button will still be on the client side which is the current state,if you find the upload button loading state unbearable you can use their ssr plugin to prevent that
Want results from more Discord servers?
Add your server