Current anemomind code stores uploaded file in buffer using multer in memory storage.
To upload file in google storage, common code is used with a flag, but storing entire file in memory is bad idea. need to stream file so that file can be uploaded to google cloud storage as well as on local storage.
Current anemomind code stores uploaded file in buffer using multer in memory storage. To upload file in google storage, common code is used with a flag, but storing entire file in memory is bad idea. need to stream file so that file can be uploaded to google cloud storage as well as on local storage.