I have a nextJs app, trying to upload files (end goal is to send the file as an attachment to an email address using nodemailer), it works fine in dev mode.
I have my environment variables set both in dev and the prod, is there any other config I need to setup in vercel to help handle file upload in prod?
Here's a link to the way I handle the file upload: file upload route