Serve the image to client after uploading to Mongodb with gridFS and graphqlUpload
Hi there,
I upload images to MongoDB through graphqlupload and  gridFS .right now for me, looks like there are only two ways to serve the pics to client side,
1.gridFSBucket.openDownloadStream to pipe down local system and resolve an url to send back to client side  and display at image src.
2.convert the binary stream to base64 string and patch it back to img tag,so the pic can show on finger tips,but the converting may take alot  of time and drag the app.
who can telll me if there is any better solutions? many thanks