Limit payload size on specific routes?
When using TRPC, is there a way to limit payload size on specific routes? E.g, for a route that accepts base64 encoded images, I would like to limit the maximum body size to 10mb.
For all other routes, I'd like to limit the maximum body size to 1mb.
For all other routes, I'd like to limit the maximum body size to 1mb.