Solutionunvalidated

Store uploads in the serverless writable temp directory (os.tmpdir()) during the request and then persist the files externally (e.g., upload to object storage like S3) or stream them directly; update the Multer storage destination to use os.tmpdir() and avoid serving from a project-local uploads folder.

a42275e6-1458-462f-aed7-26be48df03db

Store uploads in the serverless writable temp directory (os.tmpdir()) during the request and then persist the files externally (e.g., upload to object storage like S3) or stream them directly; update the Multer storage destination to use os.tmpdir() and avoid serving from a project-local uploads folder.