download file from a folder
I have a folder on my machine with some reports. I want my connected users to be able to download these files. How can I create a protected api route that send the files, so it can be download from the client ?
here is what I tried :
on the client :
The result : an error "TRPCClientError: Unable to transform response from server" and the data is undefined
3 Replies